md
This commit is contained in:
parent
20c2d47c32
commit
4688b34ca6
@ -440,80 +440,16 @@ export default {
|
|||||||
if (j === 'index') {
|
if (j === 'index') {
|
||||||
return ++index
|
return ++index
|
||||||
}
|
}
|
||||||
if (j === 'kjlx') {
|
if (j === 'curMoney') {
|
||||||
return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
|
return (v['creditMoney'] - v['useMoney']).toFixed(2);
|
||||||
}
|
}
|
||||||
if (j === 'fjr') {
|
if (j === 'curMoneyRate') {
|
||||||
return v['sendName']+'--'+v['receiveName'];
|
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]
|
return v[j]
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
|
|||||||
@ -172,7 +172,7 @@ import NumberRangePicker from '@/components/NumberRange/NumberRangePicker';
|
|||||||
import { formatSearchStr,deepClone } from '@/utils/index'
|
import { formatSearchStr,deepClone } from '@/utils/index'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "emisCreditSalesmen",
|
name: "EmisCreditSalesmen",
|
||||||
components: { elDateSimplePicker,emisCreditSalesmenForm,SalemanPicker,NumberRangePicker },
|
components: { elDateSimplePicker,emisCreditSalesmenForm,SalemanPicker,NumberRangePicker },
|
||||||
dicts: ['emis_biz_shipping_method'],
|
dicts: ['emis_biz_shipping_method'],
|
||||||
data() {
|
data() {
|
||||||
@ -379,7 +379,7 @@ export default {
|
|||||||
qParam.pageNum=1;
|
qParam.pageNum=1;
|
||||||
qParam.pageSize=20000;
|
qParam.pageSize=20000;
|
||||||
|
|
||||||
listEmisCreditCustomer(qParam).then(response => {
|
listEmisCreditSalesmen(qParam).then(response => {
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.exportData(response.rows,loadingInstance);
|
this.exportData(response.rows,loadingInstance);
|
||||||
}
|
}
|
||||||
@ -409,80 +409,17 @@ export default {
|
|||||||
if (j === 'index') {
|
if (j === 'index') {
|
||||||
return ++index
|
return ++index
|
||||||
}
|
}
|
||||||
if (j === 'kjlx') {
|
|
||||||
return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
|
if (j === 'curMoney') {
|
||||||
|
return (v['creditMoney'] - v['useMoney']).toFixed(2);
|
||||||
}
|
}
|
||||||
if (j === 'fjr') {
|
if (j === 'curMoneyRate') {
|
||||||
return v['sendName']+'--'+v['receiveName'];
|
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]
|
return v[j]
|
||||||
}))
|
}))
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user