Commit 56f11d83 authored by 黄奎's avatar 黄奎

页面修改

parent 4a47577c
......@@ -163,7 +163,7 @@
{{subItem.Title}}
</td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length">
{{getCurrencyName(subItem.CurrencyId)}}
{{getCurrencyName(subItem.CurrencyId)}}
</td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length">
<template v-if="subItem.ContainDinnerType==0">含餐类型</template>
......@@ -281,7 +281,7 @@
{{subItem.Title}}
</td>
<td>
{{getCurrencyName(OtherPrice.CurrencyId)}}
{{getCurrencyName(subItem.CurrencyId)}}
</td>
<td>
<template v-if="subItem.ContainDinnerType==0">含餐类型</template>
......@@ -708,17 +708,16 @@
<tr>
<td class="CP_ComTitle2">备注</td>
<td colspan="12">
<el-input type="textarea"></el-input>
<el-input type="textarea" v-model="postConfig.AuditContent"></el-input>
</td>
</tr>
<tr>
<td colspan="13" style="text-align:center;">
<input type="button" class="normalBtn" value="同意" />
<input type="button" class="normalBtn" value="拒绝" />
<input type="button" class="normalBtn" value="同意" @click="SubSaveType(3)" />
<input type="button" class="normalBtn" value="拒绝" @click="SubSaveType(4)" />
</td>
</tr>
</table>
<div class="Cost_Line"></div>
</el-form>
</div>
......@@ -738,6 +737,10 @@
}
},
methods: {
//调用父组件方法
SubSaveType(type) {
this.$parent.SaveData(type);
},
//交通部分小计
trafficXiaoJi(currencyType) {
var trafficTotal = 0;
......@@ -993,4 +996,5 @@
},
},
};
</script>
\ No newline at end of file
</script>
......@@ -10,24 +10,13 @@
</style>
<template>
<div class="DirectQuotation clearfix" v-loading="loading">
<div class="singlePrice clearfix" v-show="IsShow">
<div class="singlePrice clearfix">
<CostNewPriceAudit ref="CostNewPrice" :postConfig="postData" :OtherPrice="otherPrice"
:dayCostPrice="dayCostPriceList" :CostCurrencyList="CostCurrencyList"
:CostNumberList="CostNumberList" :CurrencyNumberListExt="CurrencyNumberListExt"
:teamPrice="teamPrice"
></CostNewPriceAudit>
</div>
<div class="btnFixedDiv">
<div class="toTop">
<i class="iconfont icon-huidaodingbu"></i>
</div>
<div class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="SaveData(2)">提交</div>
<div class="DTSaveBtn" style="display:none;">复制</div>
<div class="DTSaveBtn caogao" :class="{'disClick':!isSubmit}" @click="SaveData(1)">
<span>保存</span>
<span>草稿</span>
</div>
</div>
</div>
</template>
<script>
......@@ -137,41 +126,36 @@
ContractUrl: "", //合同地址
PriceRemark: "", //定价备注
LeaderGuideDriveZhuSu:0,//领队导游住宿费
AuditContent:"",//审核备注
TravelState:0,//3审核通过,4拒绝
},
LineList: [], //线路列表
loading: false
};
},
methods: {
//表单提交
submitForm(type) {
this.$refs["QuotationPrice"].submitForm(type);
},
//保存数据
SaveData() {
SaveData(Type) {
var nObj = {
config: this.postData,
ID: this.$route.query.configId,
AuditContent:this.postData.AuditContent,
TravelState:Type
};
// this.loading = true;
// this.apipost(
// "travel_post_SetConfigOffer_V2", nObj,
// res => {
// this.loading = false;
// if (res.data.resultCode == 1) {
// this.Success(res.data.message);
// if (this.postData.TeamType == 1) {
// this.goUrl('newQuotation2');
// } else {
// this.goUrl('newQuotation');
// }
// } else {
// this.Error(res.data.message);
// }
// },
// err => {}
// );
this.loading = true;
this.apipost(
"travel_get_AuditTravelConfig", nObj,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.goUrl('AuditDan');
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
goUrl(path) {
this.$router.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment