This commit is contained in:
aihe 2024-10-20 11:30:50 +08:00
parent 727cb28e82
commit 30803c3261

View File

@ -41,6 +41,7 @@
totalVolume: info.totalVolume, totalVolume: info.totalVolume,
sendSiteCode: info.sendSiteCode, sendSiteCode: info.sendSiteCode,
dispatchUnderlingSiteCode: info.dispatchUnderlingSiteCode, dispatchUnderlingSiteCode: info.dispatchUnderlingSiteCode,
custNo: info.custNo,
} }
return param return param
} }
@ -103,6 +104,7 @@
let { params } = opt let { params } = opt
params = Object.assign({}, params || this.searchParam) params = Object.assign({}, params || this.searchParam)
delete params.totalVolume // 体积 非必填 delete params.totalVolume // 体积 非必填
delete params.custNo // 月结账号 非必填
let vals = Object.values(params) let vals = Object.values(params)
return vals.length == vals.filter(v => (v==0 || !!v)).length return vals.length == vals.filter(v => (v==0 || !!v)).length
}, },
@ -111,7 +113,7 @@
if(this.calType == 2) { if(this.calType == 2) {
handleServer = apiService.calcProductFee handleServer = apiService.calcProductFee
} }
let res = await handleServer({ ...this.searchParam, custNo: this.modelInfo.custNo, ...params, _loading: true }) let res = await handleServer({ ...this.searchParam, ...params, _loading: true })
this.proTypeList = res.data || [] this.proTypeList = res.data || []
}, },
handleChooseItem(val, text, checkedList){ handleChooseItem(val, text, checkedList){