Commit 0553fda3 by 前端

修复创建调拨时入库门店只有一个选项时未选中的问题

1 parent ac684b50
......@@ -354,8 +354,8 @@ export default {
// this.editAllocationForm.callOutYqMerchantId = this.callOutYqMerchantList[0].merchantNo
// 调出仓库
this.$apis.stockManage.getyqMerchantList({ mainPartnerMerchant: true }).then(res => {
this.callOutYqMerchantList = res
this.callInYqMerchantList = res
this.callOutYqMerchantList = this.$common.utils.deepClone(res)
this.callInYqMerchantList = this.$common.utils.deepClone(res)
if (this.callOutYqMerchantList && this.callOutYqMerchantList.length == 1) {
this.editAllocationForm.callOutYqMerchantId = this.callOutYqMerchantList[0].merchantNo
this.getServicemerchantrefList(this.editAllocationForm.callOutYqMerchantId, 'out')
......@@ -415,7 +415,7 @@ export default {
//门店选项中加入总店
this.callInMerchantList.push(_headOffice)
if (this.callInMerchantList && this.callInMerchantList.length == 1) {
this.editAllocationForm.callInMerchantId = this.callOutMerchantList[0].merchantId
this.editAllocationForm.callInMerchantId = this.callInMerchantList[0].merchantId
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!