采购收货单修改

jg-waiwang-pro
vayne 4 months ago
parent 795c4b47a7
commit 5a89d7a426

@ -946,12 +946,8 @@
">*</span>货区名称
</template>
<template slot-scope="scope">
<JnpfPopupSelect v-model="scope.row.cargoId" @change="
changeData(
'deliveryproductrelation-cargoId',
scope.$index
)
" :rowIndex="scope.$index" :formData="dataForm" :templateJson="
<JnpfPopupSelect v-model="scope.row.cargoId" @change="batchNoMethod"
:rowIndex="scope.$index" :formData="dataForm" :templateJson="
interfaceRes.deliveryproductrelationcargoId
" placeholder="请选择" :disabled="
judgeWrite('deliveryproductrelationList') ||
@ -1597,6 +1593,13 @@ export default {
this.initPurchaseData();
},
methods: {
batchNoMethod(val, val2, index) {
if (index == 0) {
this.dataForm.deliveryProductRelationList.forEach((item, index) => {
item.cargoId = val
})
}
},
getSummaries(param) {
const summaryField = ["saleNum", "grossWeight", "tareWeight", "buckleWeight", "netWeight", "clearWeight", "deliveryNum", "taxCount", "notTaxCount"];
const { columns, data } = param;

Loading…
Cancel
Save