销售人员关联导出
This commit is contained in:
parent
c4f727fca2
commit
e14438e243
@ -201,15 +201,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.queryParams.params = {};
|
this.queryParams.params = {};
|
||||||
// if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) {
|
listEmisSalesmenRel(this.queryParams).then(response => {
|
||||||
// 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 => {
|
|
||||||
this.emisSalesmenRelList = response.rows;
|
this.emisSalesmenRelList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
@ -277,7 +269,6 @@ export default {
|
|||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
const loadingInstance = this.$loading({
|
const loadingInstance = this.$loading({
|
||||||
@ -292,7 +283,7 @@ export default {
|
|||||||
this.queryParams.pageNum=1;
|
this.queryParams.pageNum=1;
|
||||||
this.queryParams.pageSize=5000;
|
this.queryParams.pageSize=5000;
|
||||||
|
|
||||||
listEmisWaybill(this.queryParams).then(response => {
|
listEmisSalesmenRel(this.queryParams).then(response => {
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.exportData(response.rows,loadingInstance);
|
this.exportData(response.rows,loadingInstance);
|
||||||
}
|
}
|
||||||
@ -322,62 +313,13 @@ export default {
|
|||||||
if (j === 'index') {
|
if (j === 'index') {
|
||||||
return ++index
|
return ++index
|
||||||
}
|
}
|
||||||
if (j === 'kjlx') {
|
if (j === 'blOpen') {
|
||||||
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){
|
if(v[j]==1){
|
||||||
return '派送';
|
return "启用";
|
||||||
}else{
|
|
||||||
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