|
@@ -44,7 +44,7 @@
|
|
</div>
|
|
</div>
|
|
<div v-else>
|
|
<div v-else>
|
|
销售单号:
|
|
销售单号:
|
|
- <a-input placeholder="请输入销售单号" v-model.trim="form.salesBillNo" :maxLength="50" @change="fetchUser" @blur="handleBlur"/>
|
|
|
|
|
|
+ <a-input placeholder="请输入销售单号" v-model.trim="form.salesBillNo" :maxLength="50" @change="fetchUser"/>
|
|
<span class="mleft">{{ buyerName }}</span>
|
|
<span class="mleft">{{ buyerName }}</span>
|
|
<a-button type="primary" :disabled="!salesBillFlag" @click="handleSave('salesBillNo')" class="button-error errorBtn">设置完成</a-button>
|
|
<a-button type="primary" :disabled="!salesBillFlag" @click="handleSave('salesBillNo')" class="button-error errorBtn">设置完成</a-button>
|
|
</div>
|
|
</div>
|
|
@@ -192,10 +192,12 @@ export default {
|
|
this.buyerName = ''
|
|
this.buyerName = ''
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ this.salesBillFlag = false
|
|
this.spinning = true
|
|
this.spinning = true
|
|
salesDetailByNo({ salesBillNo: this.form.salesBillNo }).then(res => {
|
|
salesDetailByNo({ salesBillNo: this.form.salesBillNo }).then(res => {
|
|
this.spinning = false
|
|
this.spinning = false
|
|
this.buyerName = res.data ? res.data.buyerName : ''
|
|
this.buyerName = res.data ? res.data.buyerName : ''
|
|
|
|
+ this.handleBlur()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 打开抓单设置单价弹窗
|
|
// 打开抓单设置单价弹窗
|