Commit 8f83366a authored by 我在何方's avatar 我在何方

编辑订单关联报价单不能修改

parent 51b586ce
......@@ -454,6 +454,7 @@
filterable
clearable
reserve-keyword
:disabled = "offerIdNochange"
:placeholder="$t('请选择')"
>
<el-option
......@@ -680,7 +681,8 @@ export default {
calculating: false, // 是否正在计算费用,防止频繁重新请求
initing: true, // 初始化中,
updateChannel: false, // 是否更新渠道
offerData: []// 关联报价单
offerData: [],// 关联报价单
offerIdNochange:false
};
},
computed:{
......@@ -1442,12 +1444,13 @@ export default {
},
getOfferNumber(id) {
const that = this
that.offerIdNochange = false
getOfferCheck({ orderId: id }).then(response => {
if(!response.data) return
if(that.offerData.length==0){
that.offerData.push(response.data)
}
console.log(that.offerData)
that.offerIdNochange = true
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