Commit da9d5f6f authored by dragondean@qq.com's avatar dragondean@qq.com

修复提单是否显示价格偶发异常

parent 22f809d1
......@@ -463,12 +463,12 @@
</div>
<div>
<el-form-item :label="$t('付款人')" prop="drawee">
<dict-selector :type="DICT_TYPE.DRAWEE" v-model="form.drawee" defaultable form-type="radio" :disabled="false"/>
<dict-selector :formatter="Number" :type="DICT_TYPE.DRAWEE" v-model="form.drawee" defaultable form-type="radio" :disabled="false"/>
<el-table :data="customDraweeList" v-if="form.drawee==3" >
<el-table-column :label="$t('费用类型')" prop="label" width="200px"></el-table-column>
<el-table-column :label="$t('付款人')" width="300px">
<template slot-scope="{row}">
<dict-selector :type="DICT_TYPE.DRAWEE" :filter="(e) => e.value == '1' || e.value == '2'" v-model="row.value" form-type="radio" :disabled="false"/>
<dict-selector :formatter="Number" :type="DICT_TYPE.DRAWEE" :filter="(e) => e.value == 1 || e.value == 2" v-model="row.value" form-type="radio" :disabled="false"/>
</template>
</el-table-column>
</el-table>
......@@ -1029,19 +1029,19 @@ export default {
this.$set(this.form, 'drawee', isCargoControl ? 2 : 2)
}
this.setBllLandingPrice()
this.setBllLandingPrice('form.isCargoControl')
},
'form.type'(){
this.setBllLandingPrice()
this.setBllLandingPrice('form.type')
},
'form.drawee'(){
this.setBllLandingPrice()
'form.drawee'(old, newVal){
this.setBllLandingPrice('form.drawee')
},
'form.consigneeId'(){
this.setBllLandingPrice()
this.setBllLandingPrice('form.consigneeId')
},
'form.consignorId'(){
this.setBllLandingPrice()
this.setBllLandingPrice('form.consignorId')
},
// 目的港清关,1我司,2客户
'form.portDestCustomsClear'(portDestCustomsClear){
......@@ -1251,7 +1251,7 @@ export default {
}
this.$nextTick(() => {
this.initing = false
console.log("initing", this.initing)
console.log("初始化完成 initing", this.initing)
})
}, 100)
......@@ -1588,7 +1588,8 @@ export default {
})
},
// 设置默认的提货单是否显示价格
setBllLandingPrice(){
setBllLandingPrice(src){
console.log("更新默认的提单是否显示价格:src" + src, this.initing, {...this.form});
if(this.form.orderId && this.initing) return
// 240224 微信反馈
......
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