This commit is contained in:
linfso 2025-02-19 09:28:12 +08:00
parent eef469acfa
commit 529546a763

View File

@ -242,7 +242,7 @@
</el-table-column>
<el-table-column :label="$t('实际重量')" align="center" prop="waybillDetail.billWeight" width="120" />
<el-table-column :label="$t('体积')" align="center" prop="waybillDetail.totalVolume" min-width="80" />
<el-table-column prop="billFee" :label="$t('运费')" align="center" width="100">
<el-table-column prop="freight" :label="$t('运费')" align="center" width="100">
<template slot-scope="scope">
{{scope.row.waybillDetail.freight}}
</template>
@ -475,25 +475,29 @@ export default {
let resBatch=await listEmisTmsSiteBatchDtl({batchNo: item.batchNo});
if(resBatch.code==200){
if(resBatch.rows&&resBatch.rows.length>0){
billCodeStr=resBatch.rows.map( item=> item.billCode).join();
// billCodeStr=resBatch.rows.map( item=> item.billCode).join();
resBatch.rows.forEach(itemWaybill=>{
let relItem={...itemWaybill};
this.form.billRelList.push(relItem);
});
}
}
console.log("==billCodeStr==>",billCodeStr);
let qParam={
billCode:billCodeStr,
pageNum:1,
pageSize:2000
}
// 查询子账单
let res=await listEmisSettleSubBill(qParam);
if(res.code==200){
let subBillList = res.rows;
for(let i=0;i<subBillList.length;i++){
let itemSubBill=subBillList[i];
let relItem={...itemSubBill};
this.form.billRelList.push(relItem);
};
}
console.log("==billCodeStr==>",billCodeStr);
// let qParam={
// billCode:billCodeStr,
// pageNum:1,
// pageSize:2000
// }
// // 查询子账单
// let res=await listEmisSettleSubBill(qParam);
// if(res.code==200){
// let subBillList = res.rows;
// for(let i=0;i<subBillList.length;i++){
// let itemSubBill=subBillList[i];
// let relItem={...itemSubBill};
// this.form.billRelList.push(relItem);
// };
// }
// 获取运输类型对应的费用类型
this.form.feeItemList=[];