Commit 60a0461a authored by 我在何方's avatar 我在何方

编辑订单关联报价单优化

parent 8f83366a
......@@ -449,7 +449,9 @@
</el-form-item>
</div>
<el-form-item :label="$t('关联报价单')" prop="offerId">
<span v-if="offerIdNochange&&offerNumber">{{offerNumber}}</span>
<el-select
v-else
v-model="form.offerId"
filterable
clearable
......@@ -682,7 +684,8 @@ export default {
initing: true, // 初始化中,
updateChannel: false, // 是否更新渠道
offerData: [],// 关联报价单
offerIdNochange:false
offerIdNochange:false,
offerNumber:null
};
},
computed:{
......@@ -1451,6 +1454,7 @@ export default {
that.offerData.push(response.data)
}
that.offerIdNochange = true
that.offerNumber = response.data.number
that.$set(that.form, 'offerId', response.data.offerId)
})
},
......
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