This commit is contained in:
linfso 2025-03-13 21:38:58 +08:00
parent 20c2d47c32
commit 4688b34ca6
2 changed files with 15 additions and 142 deletions

View File

@ -440,80 +440,16 @@ export default {
if (j === 'index') {
return ++index
}
if (j === 'kjlx') {
return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
if (j === 'curMoney') {
return (v['creditMoney'] - v['useMoney']).toFixed(2);
}
if (j === 'fjr') {
return v['sendName']+'--'+v['receiveName'];
if (j === 'curMoneyRate') {
return (((v['creditMoney'] - v['useMoney'])/v['creditMoney'])*100 ).toFixed(2);
}
if (j === 'custName') {
let paymentType=v['paymentType'];
if(paymentType==2 || paymentType==4 || paymentType==5 ){
return v['custName'];
}else{
return "";
}
if (j === 'transType') {
return this.selectDictLabel(this.dict.type.emis_biz_shipping_method,v[j]);
}
if (j === 'sendMobile') {
return "";
}
if (j === 'paymentStatus') {
return this.selectDictLabel(this.dict.type.emis_payment_status,v[j]);
}
if (j === 'pickupMethod') {
return this.selectDictLabel(this.dict.type.emis_qujian_fangshi,v[j]);
}
if (j === 'customsEclaration') {
return this.selectDictLabel(this.dict.type.emis_declare_mode,v[j]);
}
if (j === 'customsClear') {
return this.selectDictLabel(this.dict.type.emis_customs_clear,v[j]);
}
if (j === 'packType') {
return this.selectDictLabels(this.dict.type.emis_tab_packing_type,v[j]);
}
if (j === 'dispatchMethod') {
if(v[j] == 1){
return '派送';
}else{
return '自提';
}
}
if (j === 'blUploadPic') {
if(v['goodsPics']!=null && v['goodsPics']!=''){
return '是';
}else{
return '否';
}
}
if (j === 'blMessage') {
if(v[j] == 1){
return '发送';
}else{
return '不发送';
}
}
if (j === 'blAcceptMessage') {
if(v[j] == 1){
return '发送';
}else{
return '不发送';
}
}
if (j === 'blSign') {
if(v[j] == 1){
return '已签收';
}else{
return '未签收';
}
}
if (j === 'paymentType') {
return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
}
return v[j]
}))
},

View File

@ -172,7 +172,7 @@ import NumberRangePicker from '@/components/NumberRange/NumberRangePicker';
import { formatSearchStr,deepClone } from '@/utils/index'
export default {
name: "emisCreditSalesmen",
name: "EmisCreditSalesmen",
components: { elDateSimplePicker,emisCreditSalesmenForm,SalemanPicker,NumberRangePicker },
dicts: ['emis_biz_shipping_method'],
data() {
@ -379,7 +379,7 @@ export default {
qParam.pageNum=1;
qParam.pageSize=20000;
listEmisCreditCustomer(qParam).then(response => {
listEmisCreditSalesmen(qParam).then(response => {
if (response.code === 200) {
this.exportData(response.rows,loadingInstance);
}
@ -409,80 +409,17 @@ export default {
if (j === 'index') {
return ++index
}
if (j === 'kjlx') {
return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
if (j === 'curMoney') {
return (v['creditMoney'] - v['useMoney']).toFixed(2);
}
if (j === 'fjr') {
return v['sendName']+'--'+v['receiveName'];
if (j === 'curMoneyRate') {
return (((v['creditMoney'] - v['useMoney'])/v['creditMoney'])*100 ).toFixed(2);
}
if (j === 'custName') {
let paymentType=v['paymentType'];
if(paymentType==2 || paymentType==4 || paymentType==5 ){
return v['custName'];
}else{
return "";
}
if (j === 'transType') {
return this.selectDictLabel(this.dict.type.emis_biz_shipping_method,v[j]);
}
if (j === 'sendMobile') {
return "";
}
if (j === 'paymentStatus') {
return this.selectDictLabel(this.dict.type.emis_payment_status,v[j]);
}
if (j === 'pickupMethod') {
return this.selectDictLabel(this.dict.type.emis_qujian_fangshi,v[j]);
}
if (j === 'customsEclaration') {
return this.selectDictLabel(this.dict.type.emis_declare_mode,v[j]);
}
if (j === 'customsClear') {
return this.selectDictLabel(this.dict.type.emis_customs_clear,v[j]);
}
if (j === 'packType') {
return this.selectDictLabels(this.dict.type.emis_tab_packing_type,v[j]);
}
if (j === 'dispatchMethod') {
if(v[j] == 1){
return '派送';
}else{
return '自提';
}
}
if (j === 'blUploadPic') {
if(v['goodsPics']!=null && v['goodsPics']!=''){
return '是';
}else{
return '否';
}
}
if (j === 'blMessage') {
if(v[j] == 1){
return '发送';
}else{
return '不发送';
}
}
if (j === 'blAcceptMessage') {
if(v[j] == 1){
return '发送';
}else{
return '不发送';
}
}
if (j === 'blSign') {
if(v[j] == 1){
return '已签收';
}else{
return '未签收';
}
}
if (j === 'paymentType') {
return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
}
return v[j]
}))
},