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

新增价格变更审核

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