diff --git a/src/views/emis/emisSalesmenRel/index.vue b/src/views/emis/emisSalesmenRel/index.vue index 5bb723d6..4968a96f 100644 --- a/src/views/emis/emisSalesmenRel/index.vue +++ b/src/views/emis/emisSalesmenRel/index.vue @@ -201,15 +201,7 @@ export default { getList() { this.loading = true; this.queryParams.params = {}; - // if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) { - // this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0]; - // this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1]; - // } - // if (null != this.daterangeUpdateTime && '' != this.daterangeUpdateTime) { - // this.queryParams.params["beginUpdateTime"] = this.daterangeUpdateTime[0]; - // this.queryParams.params["endUpdateTime"] = this.daterangeUpdateTime[1]; - // } - listEmisSalesmenRel(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => { + listEmisSalesmenRel(this.queryParams).then(response => { this.emisSalesmenRelList = response.rows; this.total = response.total; this.loading = false; @@ -278,7 +270,6 @@ export default { }).catch(() => {}); }, /** 导出按钮操作 */ - /** 导出按钮操作 */ handleExport() { const loadingInstance = this.$loading({ text: '正在导出...' @@ -292,7 +283,7 @@ export default { this.queryParams.pageNum=1; this.queryParams.pageSize=5000; - listEmisWaybill(this.queryParams).then(response => { + listEmisSalesmenRel(this.queryParams).then(response => { if (response.code === 200) { this.exportData(response.rows,loadingInstance); } @@ -322,63 +313,14 @@ export default { if (j === 'index') { return ++index } - if (j === 'kjlx') { - return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName']; - } - if (j === 'fjr') { - return v['sendName']+'--'+v['receiveName']; - } - 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 === 'blOpen') { + if(v[j]==1){ + return "启用"; } - } - if (j === 'blMessage') { - if(v[j] == 1){ - return '发送'; - }else{ - 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] })) },