Commit 805bce14 authored by 黄奎's avatar 黄奎

新增价格变更审核

parent 3cc9069f
...@@ -71,13 +71,13 @@ ...@@ -71,13 +71,13 @@
</el-table-column> </el-table-column>
<el-table-column prop="" :label="$t('visaT.Applicant')+'/'+$t('objFill.shengqirq')" width="200"> <el-table-column prop="" :label="$t('visaT.Applicant')+'/'+$t('objFill.shengqirq')" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<p> {{scope.row.BranchApplyName}}</p> <p> {{scope.row.CreateByName}}</p>
<p> {{scope.row.BranchApplyTime}}</p> <p> {{scope.row.CreateTime}}</p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="OPName" :label="$t('objFill.v101.dmc.shengqyy')" show-overflow-tooltip> <el-table-column prop="OPName" :label="$t('objFill.v101.dmc.shengqyy')" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.BranchApplyResion}} {{scope.row.ChangeRemark}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="PriceTeamTypeName" :label="$t('objFill.v101.commissonBill.col.t3')" width="130"> <el-table-column prop="PriceTeamTypeName" :label="$t('objFill.v101.commissonBill.col.t3')" width="130">
...@@ -85,12 +85,24 @@ ...@@ -85,12 +85,24 @@
<template v-if="scope.row.TeamTypeName">{{scope.row.TeamTypeName}}</template> <template v-if="scope.row.TeamTypeName">{{scope.row.TeamTypeName}}</template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="OldBranchName" :label="$t('objFill.v101.dmc.yuanchutgs')" width="130"></el-table-column> <el-table-column prop="B2BPrice" :label="$t('Operation.Op_fellow')" width="130">
<el-table-column prop="NewBranchName" :label="$t('objFill.v101.dmc.xinchutgs')" width="130"></el-table-column> <template slot-scope="scope">
<span>
{{scope.row.B2BPrice}}=><font style="color:red">{{scope.row.NewB2BPrice}}</font>
</span>
</template>
</el-table-column>
<el-table-column prop="B2CPrice" :label="$t('Operation.Op_direct')" width="130">
<template slot-scope="scope">
<span>
{{scope.row.B2CPrice}}=><font style="color:red;">{{scope.row.NewB2CPrice}}</font>
</span>
</template>
</el-table-column>
<el-table-column prop="" :label="$t('fnc.shzhuangtai')" width="100"> <el-table-column prop="" :label="$t('fnc.shzhuangtai')" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span :style="{'color':scope.row.BranchAuditState==3?'red':scope.row.BranchAuditState==2?'#33B3FF':'blue'}"> <span :style="{'color':scope.row.ChangePriceStatus==3?'red':scope.row.ChangePriceStatus==2?'#33B3FF':'blue'}">
{{scope.row.BranchAuditStateStr}} {{scope.row.ChangePriceStatusStr}}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -98,11 +110,11 @@ ...@@ -98,11 +110,11 @@
<template slot-scope="scope"> <template slot-scope="scope">
<div class="_icon_btn"> <div class="_icon_btn">
<el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top" <el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top"
v-if="scope.row.BranchAuditState==1"> v-if="scope.row.ChangePriceStatus==1">
<i v-loading="loading" class="iconfont icon-ico_commodity_defaul" @click="shenhei(scope.row)"></i> <i v-loading="loading" class="iconfont icon-ico_commodity_defaul" @click="shenhei(scope.row)"></i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.bohui')" placement="top" <el-tooltip class="item" effect="dark" :content="$t('fnc.bohui')" placement="top"
v-if="scope.row.BranchAuditState==1"> v-if="scope.row.ChangePriceStatus==1">
<i class="iconfont icon-shenhebohui" @click="bohui(scope.row)"></i> <i class="iconfont icon-shenhebohui" @click="bohui(scope.row)"></i>
</el-tooltip> </el-tooltip>
</div> </div>
...@@ -276,7 +288,7 @@ ...@@ -276,7 +288,7 @@
cancelButtonText: this.$t('pub.cancelBtn'), cancelButtonText: this.$t('pub.cancelBtn'),
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.groupAudit(2, item.TCID) this.groupAudit(2, item.ID)
}).catch(() => { }).catch(() => {
}); });
...@@ -290,7 +302,7 @@ ...@@ -290,7 +302,7 @@
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
//掉接口 //掉接口
this.groupAudit(3, this.dataRow.TCID) this.groupAudit(3, this.dataRow.ID)
}).catch(() => { }).catch(() => {
}); });
...@@ -300,18 +312,14 @@ ...@@ -300,18 +312,14 @@
this.cancelOrderDialog = true this.cancelOrderDialog = true
return return
}, },
groupAudit(type, TCID, name, length) { groupAudit(type, ID, name, length) {
let msg = { let postMsg = {
TCID: TCID, ID: ID,
BranchAuditState: type, ChangePriceStatus: type,
BranchAuditRemark: this.cancelRemark AuditContent: this.cancelRemark
} }
this.loading = true this.loading = true
this.apipost("travel_post_AuditTravelPriceChange", { this.apipost("travel_post_AuditTravelPriceChange", postMsg, res => {
TCID: TCID,
BranchAuditState: type,
BranchAuditRemark: this.cancelRemark
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
if (!name) { if (!name) {
this.cancelOrderDialog = false this.cancelOrderDialog = false
......
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