Commit c443650c authored by liudong1993's avatar liudong1993

1

parent d1ec5267
...@@ -4912,6 +4912,7 @@ export const obj = { ...@@ -4912,6 +4912,7 @@ export const obj = {
caigoucb: 'Procurement costs ', caigoucb: 'Procurement costs ',
yunfeizhic: 'Freight expenses ', yunfeizhic: 'Freight expenses ',
baoxianzc: 'Insurance expenditure ', baoxianzc: 'Insurance expenditure ',
baoxianmd: 'Insurance List',
zongfanyo: 'homestay ', zongfanyo: 'homestay ',
yifangyo: 'refunded ', yifangyo: 'refunded ',
dindyhje: 'Order discount Amount ', dindyhje: 'Order discount Amount ',
......
...@@ -4912,6 +4912,7 @@ export const obj = { ...@@ -4912,6 +4912,7 @@ export const obj = {
caigoucb: '調達コスト', caigoucb: '調達コスト',
yunfeizhic: '運賃支出', yunfeizhic: '運賃支出',
baoxianzc: '保険支出', baoxianzc: '保険支出',
baoxianmd: '保険リスト',
zongfanyo: '総コミッション', zongfanyo: '総コミッション',
yifangyo: '既にコミッションに戻った', yifangyo: '既にコミッションに戻った',
dindyhje: 'オーダー割引金額', dindyhje: 'オーダー割引金額',
......
...@@ -4912,6 +4912,7 @@ export const obj = { ...@@ -4912,6 +4912,7 @@ export const obj = {
caigoucb: '采购成本', caigoucb: '采购成本',
yunfeizhic: '运费支出', yunfeizhic: '运费支出',
baoxianzc: '保险支出', baoxianzc: '保险支出',
baoxianmd: '保险名单',
zongfanyo: '总返佣', zongfanyo: '总返佣',
yifangyo: '已返佣', yifangyo: '已返佣',
dindyhje: '订单优惠金额', dindyhje: '订单优惠金额',
......
...@@ -4912,6 +4912,7 @@ export const obj = { ...@@ -4912,6 +4912,7 @@ export const obj = {
caigoucb: '採購成本', caigoucb: '採購成本',
yunfeizhic: '運費支出', yunfeizhic: '運費支出',
baoxianzc: '保險支出', baoxianzc: '保險支出',
baoxianmd: '保險名單',
zongfanyo: '總返傭', zongfanyo: '總返傭',
yifangyo: '已返傭', yifangyo: '已返傭',
dindyhje: '訂單優惠金額', dindyhje: '訂單優惠金額',
......
...@@ -2175,6 +2175,35 @@ ...@@ -2175,6 +2175,35 @@
{{ sItem.Client_Name + "" + sItem.ContractNum }} {{ sItem.Client_Name + "" + sItem.ContractNum }}
</span> </span>
</div> </div>
<div v-if="OrderDataList.LeaderInsurance && OrderDataList.LeaderInsurance.length>0">
<span>{{$t('objFill.v101.FinancialModule.baoxianmd')}}:</span>
<template v-if="InsuranceUpdate==false">
<span v-for="(liitem,liindex) in OrderDataList.LeaderInsurance" :key="liindex">
<span v-if="liitem.InsuranceState==1" style="color:blue">{{liitem.Name}}(√)&nbsp;&nbsp;&nbsp;</span>
<span v-else>{{liitem.Name}}(x)&nbsp;&nbsp;&nbsp;</span>
</span>
<span v-if="EditBtn"><el-button type="primary" icon="el-icon-edit" circle size="mini" @click="InsuranceUpdate=true"></el-button></span>
</template>
<template v-if="InsuranceUpdate">
<span v-for="(liitem,liindex) in OrderDataList.LeaderInsurance" :key="liindex">
<span v-if="liitem.InsuranceState==1" style="color:blue;margin-right:40px">
{{liitem.Name}}&nbsp;&nbsp;&nbsp;
<el-button-group>
<el-button type="warning" size="mini" @click="SetLeaderInsuranceState(1,liitem.ID,2)">当团不买</el-button>
<el-button type="danger" size="mini" @click="SetLeaderInsuranceState(2,liitem.ID,2)">标记全团不买</el-button>
</el-button-group>
</span>
<span v-else style="margin-right:40px;">
{{liitem.Name}}&nbsp;&nbsp;&nbsp;
<el-button-group>
<el-button type="primary" size="mini" @click="SetLeaderInsuranceState(1,liitem.ID,1)">当团购买</el-button>
<el-button type="success" size="mini" @click="SetLeaderInsuranceState(2,liitem.ID,1)">标记全团购买</el-button>
</el-button-group>&nbsp;&nbsp;&nbsp;
</span>
</span>
<span v-if="EditBtn"><el-button type="primary" icon="el-icon-close" circle size="mini" @click="InsuranceUpdate=false"></el-button></span>
</template>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -3980,6 +4009,7 @@ ...@@ -3980,6 +4009,7 @@
IsSupperOrderEdit: false, //获取总经理副总经理超级修改权限 IsSupperOrderEdit: false, //获取总经理副总经理超级修改权限
IsLookOrder: false, //出纳查看订单权限 IsLookOrder: false, //出纳查看订单权限
EditBtn: false, //恢复订单 EditBtn: false, //恢复订单
InsuranceUpdate: false,
//修改订单业务员权限 //修改订单业务员权限
isEditOrderCreate: 0, isEditOrderCreate: 0,
importFileUrl2: "", importFileUrl2: "",
...@@ -7112,6 +7142,21 @@ ...@@ -7112,6 +7142,21 @@
this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum; this.addMsg.LessPrice = this.addMsg.LessAvgPrice * LessNum;
} }
this.getTotalPrice(); this.getTotalPrice();
},
SetLeaderInsuranceState(Status,leaderId,type){
this.apipost(
"Financial_post_SetLeaderInsuranceState",{Status:Status,BaseFinanceId:this.msg.TCID,RelevanceFrId:leaderId,RelevanceFrId2:type},
(res) => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
this.InsuranceUpdate = false;
} else {
this.Error(res.data.message);
}
},
(err) => {}
);
} }
}, },
mounted() { mounted() {
......
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