diff --git a/src/components/DatePickerAdv/elDateSimplePicker.vue b/src/components/DatePickerAdv/elDateSimplePicker.vue index 3e66bd16..dffba43e 100644 --- a/src/components/DatePickerAdv/elDateSimplePicker.vue +++ b/src/components/DatePickerAdv/elDateSimplePicker.vue @@ -125,13 +125,13 @@ let day=this.getDay(-7); start = day + " 00:00:00"; let nowDay=this.getDay(0); - end = nowDay + " 00:00:00"; + end = nowDay + " 23:59:59"; } else if(this.valueStr == -30){ let day=this.getDay(-30); start = day + " 00:00:00"; let nowDay=this.getDay(0); - end = nowDay + " 00:00:00"; + end = nowDay + " 59:59:59"; } else if(this.valueStr == 3){ start = this.getCurrentMonthFirst() + " 00:00:00"; diff --git a/src/components/XdTable/index.vue b/src/components/XdTable/index.vue index c043a797..506b717e 100644 --- a/src/components/XdTable/index.vue +++ b/src/components/XdTable/index.vue @@ -480,8 +480,6 @@ export default { cell = cell.parentElement; } - - const rowIndex = cell.parentElement.rowIndex; const cellIndex = cell.cellIndex; const text = cell.innerText; diff --git a/src/views/emis/emisWaybill/centerWaybillList.vue b/src/views/emis/emisWaybill/centerWaybillList.vue index 8e01344d..2c95ff7e 100644 --- a/src/views/emis/emisWaybill/centerWaybillList.vue +++ b/src/views/emis/emisWaybill/centerWaybillList.vue @@ -308,6 +308,9 @@ :height="(slotProps.contentHeight)+'px'" storageName="centerWaybillList_main" + ref="refTable" + row-key="id" + :row-class-name="tableRowClassName" v-loading="loading" border @@ -372,12 +375,12 @@ - + - + @@ -985,7 +988,8 @@ export default { this.$modal.msgSuccess("删除成功"); }).catch(() => {}); }, - handleExport() { + /** 导出按钮操作 */ + handleExport() { const loadingInstance = this.$loading({ text: '正在导出...' }) @@ -993,7 +997,7 @@ export default { var qParam = {...this.queryParams}; // 增加导出记录 let postExportRecord={ - menuName: '寄件运单查询', + menuName: '中心运单查询', dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate, } @@ -1018,14 +1022,13 @@ export default { const curList =selData import('@/vendor/Export2Excel').then(excel => { const exportParam=this.$refs.refTable.getExportParam(); - const tHeader = exportParam.header; const filterVal = exportParam.filter; const data = this.formatJson(filterVal, curList, selData) excel.export_json_to_excel({ header: tHeader, data, - filename: '寄件运单列表', + filename: '中心运单列表', autoWidth: true }) loadingInstance.close() @@ -1034,15 +1037,15 @@ export default { formatJson(filterVal, jsonData, resData) { let index = 0 return jsonData.map(v => filterVal.map(j => { + if (j === 'index') { return ++index } - - if (j === 'fjlx') { - return ""; + if (j === 'kjlx') { + return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName']; } if (j === 'fjr') { - return ""; + return v['sendName']+'--'+v['receiveName']; } if (j === 'sendMobile') { return ""; diff --git a/src/views/emis/emisWaybill/dispatchWaybillList.vue b/src/views/emis/emisWaybill/dispatchWaybillList.vue index 79e3c689..88a11eab 100644 --- a/src/views/emis/emisWaybill/dispatchWaybillList.vue +++ b/src/views/emis/emisWaybill/dispatchWaybillList.vue @@ -301,6 +301,10 @@ slot-scope="slotProps" :height="(slotProps.contentHeight)+'px'" + + ref="refTable" + row-key="id" + storageName="dispatchWaybillList_main" :row-class-name="tableRowClassName" @@ -374,12 +378,12 @@ - + - + @@ -971,6 +975,7 @@ export default { }, /** 导出按钮操作 */ + /** 导出按钮操作 */ handleExport() { const loadingInstance = this.$loading({ text: '正在导出...' @@ -979,7 +984,7 @@ export default { var qParam = {...this.queryParams}; // 增加导出记录 let postExportRecord={ - menuName: '寄件运单查询', + menuName: '派件运单查询', dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate, } @@ -1004,14 +1009,13 @@ export default { const curList =selData import('@/vendor/Export2Excel').then(excel => { const exportParam=this.$refs.refTable.getExportParam(); - const tHeader = exportParam.header; const filterVal = exportParam.filter; const data = this.formatJson(filterVal, curList, selData) excel.export_json_to_excel({ header: tHeader, data, - filename: '寄件运单列表', + filename: '派件运单列表', autoWidth: true }) loadingInstance.close() @@ -1020,15 +1024,15 @@ export default { formatJson(filterVal, jsonData, resData) { let index = 0 return jsonData.map(v => filterVal.map(j => { + if (j === 'index') { return ++index } - - if (j === 'fjlx') { - return ""; + if (j === 'kjlx') { + return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName']; } if (j === 'fjr') { - return ""; + return v['sendName']+'--'+v['receiveName']; } if (j === 'sendMobile') { return ""; diff --git a/src/views/emis/emisWaybill/sendWaybillList.vue b/src/views/emis/emisWaybill/sendWaybillList.vue index 3a9cbd6b..472ce7f8 100644 --- a/src/views/emis/emisWaybill/sendWaybillList.vue +++ b/src/views/emis/emisWaybill/sendWaybillList.vue @@ -300,8 +300,8 @@ :height="(slotProps.contentHeight)+'px'" ref="refTable" - row-key="id" + storageName="sendWaybillList_main_240702" v-loading="loading" border diff --git a/src/views/emis/emisWaybillAjustApply/WaybillAjustApplyList.vue b/src/views/emis/emisWaybillAjustApply/WaybillAjustApplyList.vue index 5ae6568e..abd01f09 100644 --- a/src/views/emis/emisWaybillAjustApply/WaybillAjustApplyList.vue +++ b/src/views/emis/emisWaybillAjustApply/WaybillAjustApplyList.vue @@ -29,11 +29,10 @@ - + + + + @@ -201,9 +200,11 @@ import { listEmisWaybillAjustApply, getEmisWaybillAjustApply, delEmisWaybillAjustApply, addEmisWaybillAjustApply, updateEmisWaybillAjustApply } from "@/api/emis/emisWaybillAjustApply"; import emisWaybillAjustApplyForm from '@/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm'; import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker'; +import AjustApplyTypePicker from '@/views/emis/EmisBaseTools/AjustApplyTypePicker.vue'; + export default { name: "EmisWaybillAjustApply", - components: { elDateSimplePicker,emisWaybillAjustApplyForm }, + components: { elDateSimplePicker,emisWaybillAjustApplyForm,AjustApplyTypePicker}, dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear', 'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type', 'emis_calc_fee_type','emis_print_type'], diff --git a/src/views/emis/emisWaybillAjustApply/WaybillAjustDestConfirm.vue b/src/views/emis/emisWaybillAjustApply/WaybillAjustDestConfirm.vue index db29faf3..94441af3 100644 --- a/src/views/emis/emisWaybillAjustApply/WaybillAjustDestConfirm.vue +++ b/src/views/emis/emisWaybillAjustApply/WaybillAjustDestConfirm.vue @@ -29,11 +29,9 @@ - + + + @@ -224,10 +222,11 @@ import { listEmisWaybillAjustApply, auditDestPass,auditDestNoPass} from "@/api/emis/emisWaybillAjustApply"; import emisWaybillAjustApplyForm from '@/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm'; import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker'; +import AjustApplyTypePicker from '@/views/emis/EmisBaseTools/AjustApplyTypePicker.vue'; export default { name: "EmisWaybillAjustApply", - components: { elDateAdvPicker,emisWaybillAjustApplyForm }, + components: { elDateAdvPicker,emisWaybillAjustApplyForm,AjustApplyTypePicker }, dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear', 'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type', 'emis_calc_fee_type','emis_print_type'],