采购入库通知货区

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

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

Loading…
Cancel
Save