md
This commit is contained in:
parent
fdaee0d06b
commit
561dcded02
@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<XdPageContainer class="app-container">
|
<XdPageContainer class="app-container">
|
||||||
<SearchForm slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="20" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
<SearchForm slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="20" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
||||||
<el-form-item label="运单号" prop="billCode">
|
<el-form-item label="批次号" prop="billCode">
|
||||||
<el-input
|
<el-input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
rows="2"
|
rows="2"
|
||||||
v-model="queryParams.billCode"
|
v-model="queryParams.billCode"
|
||||||
:placeholder="$t('运单号')"
|
:placeholder="$t('批次号')"
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
ref="refTable"
|
ref="refTable"
|
||||||
|
|
||||||
storageName="emisCommissionDtl_main_240702"
|
storageName="batchEmisCommissionDtl_main_240702"
|
||||||
|
|
||||||
:queryParams="queryParams"
|
:queryParams="queryParams"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -181,9 +181,8 @@ import EmisUserSimplePicker0 from '@/views/emis/EmisBaseTools/EmisUserSimplePick
|
|||||||
export default {
|
export default {
|
||||||
name: "BatchCommissionDtlList",
|
name: "BatchCommissionDtlList",
|
||||||
components: { elDateSimplePicker,emisCommissionDtlForm,EmisUserSimplePicker0,PayeePicker },
|
components: { elDateSimplePicker,emisCommissionDtlForm,EmisUserSimplePicker0,PayeePicker },
|
||||||
dicts: ['emis_commission_fee_type','emis_qujian_fangshi','emis_declare_mode','emis_customs_clear',
|
dicts: [
|
||||||
'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type',
|
'emis_commission_fee_type','emis_big_batch_type','emis_biz_shipping_method',
|
||||||
'emis_calc_fee_type','emis_print_type','emis_payment_status','emis_waybill_status','emis_tab_dispatch_mode'
|
|
||||||
],
|
],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -425,168 +424,58 @@ export default {
|
|||||||
let index = 0
|
let index = 0
|
||||||
return jsonData.map(v => filterVal.map(j => {
|
return jsonData.map(v => filterVal.map(j => {
|
||||||
|
|
||||||
console.log("===>1111===>",v);
|
|
||||||
|
|
||||||
if (j === 'index') {
|
if (j === 'index') {
|
||||||
return ++index
|
return ++index
|
||||||
}
|
}
|
||||||
if (j === 'kjlx') {
|
|
||||||
return v['waybillDetail']['sendSiteName']+'--'+v['waybillDetail']['dispatchUnderlingSiteName'];
|
if (j === 'batchDetail.batchName') {
|
||||||
}
|
return v['batchDetail']['batchName'];
|
||||||
if (j === 'fjr') {
|
|
||||||
return v['sendName']+'--'+v['receiveName'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 'waybillDetail.sendSiteName') {
|
if (j === 'batchDetail.batchType') {
|
||||||
return v['waybillDetail']['sendSiteName'];
|
return this.selectDictLabel(this.dict.type.emis_big_batch_type,v['batchDetail']['batchType']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 'waybillDetail.sendCountryName') {
|
if (j === 'batchDetail.transType') {
|
||||||
return v['waybillDetail']['sendCountryName'];
|
return this.selectDictLabel(this.dict.type.emis_biz_shipping_method,v['batchDetail']['transType']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 'waybillDetail.receiveCountryName') {
|
if (j === 'batchDetail.carNo') {
|
||||||
return v['waybillDetail']['receiveCountryName'];
|
return v['batchDetail']['carNo'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 'waybillDetail.sendDate') {
|
if (j === 'batchDetail.transWeight') {
|
||||||
return v['waybillDetail']['sendDate'];
|
return v['batchDetail']['transWeight'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 'waybillDetail.sendCompany') {
|
if (j === 'batchDetail.packNum') {
|
||||||
return v['waybillDetail']['sendCompany'];
|
return v['batchDetail']['packNum'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.etd') {
|
||||||
|
return v['batchDetail']['etd'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.startSiteName') {
|
||||||
|
return v['batchDetail']['startSiteName'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.nextSiteName') {
|
||||||
|
return v['batchDetail']['nextSiteName'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.destCountryName') {
|
||||||
|
return v['batchDetail']['destCountryName'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.supplierName') {
|
||||||
|
return v['batchDetail']['supplierName'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.totalWaybillQty') {
|
||||||
|
return v['batchDetail']['totalWaybillQty'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.totalParcelQty') {
|
||||||
|
return v['batchDetail']['totalParcelQty'];
|
||||||
|
}
|
||||||
|
if (j === 'batchDetail.totalWeight') {
|
||||||
|
return v['batchDetail']['totalWeight'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j === 'waybillDetail.transLineTypeName') {
|
|
||||||
return v['waybillDetail']['transLineTypeName'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.productTypeName') {
|
|
||||||
return v['waybillDetail']['productTypeName'];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.sendName') {
|
|
||||||
return v['waybillDetail']['sendName'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.parcelQty') {
|
|
||||||
return v['waybillDetail']['parcelQty'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.billWeight') {
|
|
||||||
return v['waybillDetail']['billWeight'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.volumeWeight') {
|
|
||||||
return v['waybillDetail']['volumeWeight'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.totalVolume') {
|
|
||||||
return v['waybillDetail']['totalVolume'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.settlementWeight') {
|
|
||||||
return v['waybillDetail']['settlementWeight'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.freight') {
|
|
||||||
return v['waybillDetail']['freight'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.realFee') {
|
|
||||||
return v['waybillDetail']['realFee'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.remark') {
|
|
||||||
return v['waybillDetail']['remark'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.feeRemark') {
|
|
||||||
return v['waybillDetail']['feeRemark'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.salesmen') {
|
|
||||||
return v['waybillDetail']['salesmen'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.payee') {
|
|
||||||
return v['waybillDetail']['payee'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.payee') {
|
|
||||||
return v['waybillDetail']['payee'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.problemTypeName') {
|
|
||||||
return v['waybillDetail']['problemTypeName'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.problemCause') {
|
|
||||||
return v['waybillDetail']['problemCause'];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.sendMobile') {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.calcFeeType') {
|
|
||||||
return this.selectDictLabel(this.dict.type.emis_calc_fee_type,v['waybillDetail']['calcFeeType']);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.paymentStatus') {
|
|
||||||
return this.selectDictLabel(this.dict.type.emis_payment_status,v['waybillDetail']['paymentStatus']);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.pickupMethod') {
|
|
||||||
return this.selectDictLabel(this.dict.type.emis_qujian_fangshi,v['waybillDetail']['pickupMethod']);
|
|
||||||
}
|
|
||||||
if (j === 'waybillDetail.customsEclaration') {
|
|
||||||
return this.selectDictLabel(this.dict.type.emis_declare_mode,v['waybillDetail']['customsEclaration']);
|
|
||||||
}
|
|
||||||
if (j === 'waybillDetail.customsClear') {
|
|
||||||
return this.selectDictLabel(this.dict.type.emis_customs_clear,v['waybillDetail']['customsClear']);
|
|
||||||
}
|
|
||||||
if (j === 'waybillDetail.packType') {
|
|
||||||
return this.selectDictLabels(this.dict.type.emis_tab_packing_type,v['waybillDetail']['packType']);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.dispatchMethod') {
|
|
||||||
if(v['waybillDetail']['dispatchMethod'] == 1){
|
|
||||||
return '派送';
|
|
||||||
}else{
|
|
||||||
return '自提';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (j === 'waybillDetail.blMessage') {
|
|
||||||
if(v['waybillDetail']['blMessage'] == 1){
|
|
||||||
return '发送';
|
|
||||||
}else{
|
|
||||||
return '不发送';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (j === 'waybillDetail.blAcceptMessage') {
|
|
||||||
if(v['waybillDetail']['blAcceptMessage'] == 1){
|
|
||||||
return '发送';
|
|
||||||
}else{
|
|
||||||
return '不发送';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (j === 'waybillDetail.blSign') {
|
|
||||||
if(v['waybillDetail']['blSign'] == 1){
|
|
||||||
return '已签收';
|
|
||||||
}else{
|
|
||||||
return '未签收';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (j === 'waybillDetail.paymentType') {
|
|
||||||
return this.selectDictLabel(this.dict.type.emis_payment_type,v['waybillDetail']['paymentType']);
|
|
||||||
}
|
|
||||||
return v[j]
|
return v[j]
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user