|
@@ -387,7 +387,7 @@
|
|
|
<el-table-column label="补单供应商编码" align="center" prop="additionalSupplier" width="200px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-form-item class="hang">
|
|
|
- <el-input clearable :disabled="sonDisable || BDZT" size="small" v-model="scope.row.additionalSupplier" @focus="chooseDept(scope.$index, 'SUPPLIER_PARAM', true, '选择补单供应商')">
|
|
|
+ <el-input clearable :disabled="sonDisable || BDZT" size="small" v-model="scope.row.additionalSupplier" @clear="clearHang(scope.$index, '选择补单供应商')" @focus="chooseDept(scope.$index, 'SUPPLIER_PARAM', true, '选择补单供应商')">
|
|
|
<el-button size="small" :disabled="sonDisable || BDZT" slot="append" icon="el-icon-more" @click="chooseDept(scope.$index, 'SUPPLIER_PARAM', true, '选择补单供应商')"></el-button>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -789,6 +789,8 @@ export default {
|
|
|
if(this.basicForm.demandPersonal) { this.reBackRefer('CONTACTS_PARAM', this.basicForm.demandPersonal) }
|
|
|
if(this.basicForm.demandDept) { this.reBackRefer('DEPT_PARAM', this.basicForm.demandDept) }
|
|
|
// 详情时将收货仓库id赋值给stordocId
|
|
|
+ // 如果业务类型为补单需求,则明细内补单供应商编码可以编辑
|
|
|
+ if(this.basicForm.billType == 'BDXQ') { this.BDZT = false } else { this.BDZT = true }
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -984,6 +986,10 @@ export default {
|
|
|
this.basicForm.puDemandItemList[index].contactsPhone = null
|
|
|
this.basicForm.puDemandItemList[index].address = null
|
|
|
}
|
|
|
+ if (title == '选择补单供应商') {
|
|
|
+ this.basicForm.puDemandItemList[index].additionalSupplierName = null
|
|
|
+ this.basicForm.puDemandItemList[index].additionalSupplier = null
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
}
|