采购入库通知货区

jg-waiwang-pro
vayne 4 months ago
parent b6672794dc
commit 11a0282ce5

@ -465,12 +465,8 @@
:disabled="true" :disabled="true"
clearable :style='{"width":"100%"}'> clearable :style='{"width":"100%"}'>
</JnpfInput> --> </JnpfInput> -->
<JnpfPopupSelect v-model="scope.row.storageAreaId" @change=" <JnpfPopupSelect v-model="scope.row.storageAreaId" @change="batchNoMethod"
changeData( :rowIndex="scope.$index" :formData="dataForm" :templateJson="
'warehousingproductList-storageAreaId',
scope.$index
)
" :rowIndex="scope.$index" :formData="dataForm" :templateJson="
interfaceRes.deliveryproductrelationcargoId interfaceRes.deliveryproductrelationcargoId
" placeholder="请选择" :disabled=" " placeholder="请选择" :disabled="
judgeWrite('warehousingproductList-storageAreaId') || judgeWrite('warehousingproductList-storageAreaId') ||
@ -910,6 +906,13 @@ export default {
this.initPurchaseData(); this.initPurchaseData();
}, },
methods: { methods: {
batchNoMethod(val, val2, index) {
if (index == 0) {
this.dataForm.warehousingProductList.forEach((item, index) => {
item.storageAreaId = val
})
}
},
initPurchaseData() { initPurchaseData() {
const data = this.setting.selectData const data = this.setting.selectData
if (!data) { if (!data) {

Loading…
Cancel
Save