|
|
|
@ -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;
|
|
|
|
|