md
This commit is contained in:
parent
6fe4004999
commit
5e39140780
@ -125,13 +125,13 @@
|
|||||||
let day=this.getDay(-7);
|
let day=this.getDay(-7);
|
||||||
start = day + " 00:00:00";
|
start = day + " 00:00:00";
|
||||||
let nowDay=this.getDay(0);
|
let nowDay=this.getDay(0);
|
||||||
end = nowDay + " 00:00:00";
|
end = nowDay + " 23:59:59";
|
||||||
}
|
}
|
||||||
else if(this.valueStr == -30){
|
else if(this.valueStr == -30){
|
||||||
let day=this.getDay(-30);
|
let day=this.getDay(-30);
|
||||||
start = day + " 00:00:00";
|
start = day + " 00:00:00";
|
||||||
let nowDay=this.getDay(0);
|
let nowDay=this.getDay(0);
|
||||||
end = nowDay + " 00:00:00";
|
end = nowDay + " 59:59:59";
|
||||||
}
|
}
|
||||||
else if(this.valueStr == 3){
|
else if(this.valueStr == 3){
|
||||||
start = this.getCurrentMonthFirst() + " 00:00:00";
|
start = this.getCurrentMonthFirst() + " 00:00:00";
|
||||||
|
|||||||
@ -480,8 +480,6 @@ export default {
|
|||||||
cell = cell.parentElement;
|
cell = cell.parentElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const rowIndex = cell.parentElement.rowIndex;
|
const rowIndex = cell.parentElement.rowIndex;
|
||||||
const cellIndex = cell.cellIndex;
|
const cellIndex = cell.cellIndex;
|
||||||
const text = cell.innerText;
|
const text = cell.innerText;
|
||||||
|
|||||||
@ -308,6 +308,9 @@
|
|||||||
:height="(slotProps.contentHeight)+'px'"
|
:height="(slotProps.contentHeight)+'px'"
|
||||||
storageName="centerWaybillList_main"
|
storageName="centerWaybillList_main"
|
||||||
|
|
||||||
|
ref="refTable"
|
||||||
|
row-key="id"
|
||||||
|
|
||||||
:row-class-name="tableRowClassName"
|
:row-class-name="tableRowClassName"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
border
|
border
|
||||||
@ -372,12 +375,12 @@
|
|||||||
<dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/>
|
<dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('发件人')" align="center" prop="pickupMethod" width="180" :show-overflow-tooltip="true">
|
<el-table-column :label="$t('发件人')" align="center" prop="fjr" width="180" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.sendName }}--{{ scope.row.receiveName }}</span>
|
<span>{{ scope.row.sendName }}--{{ scope.row.receiveName }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('快件类型')" align="center" prop="pickupMethod" width="180" :show-overflow-tooltip="true">
|
<el-table-column :label="$t('快件类型')" align="center" prop="kjlx" width="180" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.sendSiteName }}--{{ scope.row.dispatchUnderlingSiteName }}</span>
|
<span>{{ scope.row.sendSiteName }}--{{ scope.row.dispatchUnderlingSiteName }}</span>
|
||||||
</template>
|
</template>
|
||||||
@ -985,7 +988,8 @@ export default {
|
|||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
handleExport() {
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
const loadingInstance = this.$loading({
|
const loadingInstance = this.$loading({
|
||||||
text: '正在导出...'
|
text: '正在导出...'
|
||||||
})
|
})
|
||||||
@ -993,7 +997,7 @@ export default {
|
|||||||
var qParam = {...this.queryParams};
|
var qParam = {...this.queryParams};
|
||||||
// 增加导出记录
|
// 增加导出记录
|
||||||
let postExportRecord={
|
let postExportRecord={
|
||||||
menuName: '寄件运单查询',
|
menuName: '中心运单查询',
|
||||||
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
|
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1018,14 +1022,13 @@ export default {
|
|||||||
const curList =selData
|
const curList =selData
|
||||||
import('@/vendor/Export2Excel').then(excel => {
|
import('@/vendor/Export2Excel').then(excel => {
|
||||||
const exportParam=this.$refs.refTable.getExportParam();
|
const exportParam=this.$refs.refTable.getExportParam();
|
||||||
|
|
||||||
const tHeader = exportParam.header;
|
const tHeader = exportParam.header;
|
||||||
const filterVal = exportParam.filter;
|
const filterVal = exportParam.filter;
|
||||||
const data = this.formatJson(filterVal, curList, selData)
|
const data = this.formatJson(filterVal, curList, selData)
|
||||||
excel.export_json_to_excel({
|
excel.export_json_to_excel({
|
||||||
header: tHeader,
|
header: tHeader,
|
||||||
data,
|
data,
|
||||||
filename: '寄件运单列表',
|
filename: '中心运单列表',
|
||||||
autoWidth: true
|
autoWidth: true
|
||||||
})
|
})
|
||||||
loadingInstance.close()
|
loadingInstance.close()
|
||||||
@ -1034,15 +1037,15 @@ export default {
|
|||||||
formatJson(filterVal, jsonData, resData) {
|
formatJson(filterVal, jsonData, resData) {
|
||||||
let index = 0
|
let index = 0
|
||||||
return jsonData.map(v => filterVal.map(j => {
|
return jsonData.map(v => filterVal.map(j => {
|
||||||
|
|
||||||
if (j === 'index') {
|
if (j === 'index') {
|
||||||
return ++index
|
return ++index
|
||||||
}
|
}
|
||||||
|
if (j === 'kjlx') {
|
||||||
if (j === 'fjlx') {
|
return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
if (j === 'fjr') {
|
if (j === 'fjr') {
|
||||||
return "";
|
return v['sendName']+'--'+v['receiveName'];
|
||||||
}
|
}
|
||||||
if (j === 'sendMobile') {
|
if (j === 'sendMobile') {
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@ -301,6 +301,10 @@
|
|||||||
slot-scope="slotProps"
|
slot-scope="slotProps"
|
||||||
:height="(slotProps.contentHeight)+'px'"
|
:height="(slotProps.contentHeight)+'px'"
|
||||||
|
|
||||||
|
|
||||||
|
ref="refTable"
|
||||||
|
row-key="id"
|
||||||
|
|
||||||
storageName="dispatchWaybillList_main"
|
storageName="dispatchWaybillList_main"
|
||||||
|
|
||||||
:row-class-name="tableRowClassName"
|
:row-class-name="tableRowClassName"
|
||||||
@ -374,12 +378,12 @@
|
|||||||
<dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/>
|
<dict-tag :options="dict.type.emis_qujian_fangshi" :value="scope.row.pickupMethod"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('发件人')" align="center" prop="pickupMethod" width="180" :show-overflow-tooltip="true">
|
<el-table-column :label="$t('发件人')" align="center" prop="fjr" width="180" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.sendName }}--{{ scope.row.receiveName }}</span>
|
<span>{{ scope.row.sendName }}--{{ scope.row.receiveName }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('快件类型')" align="center" prop="pickupMethod" width="180" :show-overflow-tooltip="true">
|
<el-table-column :label="$t('快件类型')" align="center" prop="kjlx" width="180" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.sendSiteName }}--{{ scope.row.dispatchUnderlingSiteName }}</span>
|
<span>{{ scope.row.sendSiteName }}--{{ scope.row.dispatchUnderlingSiteName }}</span>
|
||||||
</template>
|
</template>
|
||||||
@ -971,6 +975,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
const loadingInstance = this.$loading({
|
const loadingInstance = this.$loading({
|
||||||
text: '正在导出...'
|
text: '正在导出...'
|
||||||
@ -979,7 +984,7 @@ export default {
|
|||||||
var qParam = {...this.queryParams};
|
var qParam = {...this.queryParams};
|
||||||
// 增加导出记录
|
// 增加导出记录
|
||||||
let postExportRecord={
|
let postExportRecord={
|
||||||
menuName: '寄件运单查询',
|
menuName: '派件运单查询',
|
||||||
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
|
dateRange: qParam.params.beginSendDate+"~"+qParam.params.endSendDate,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1004,14 +1009,13 @@ export default {
|
|||||||
const curList =selData
|
const curList =selData
|
||||||
import('@/vendor/Export2Excel').then(excel => {
|
import('@/vendor/Export2Excel').then(excel => {
|
||||||
const exportParam=this.$refs.refTable.getExportParam();
|
const exportParam=this.$refs.refTable.getExportParam();
|
||||||
|
|
||||||
const tHeader = exportParam.header;
|
const tHeader = exportParam.header;
|
||||||
const filterVal = exportParam.filter;
|
const filterVal = exportParam.filter;
|
||||||
const data = this.formatJson(filterVal, curList, selData)
|
const data = this.formatJson(filterVal, curList, selData)
|
||||||
excel.export_json_to_excel({
|
excel.export_json_to_excel({
|
||||||
header: tHeader,
|
header: tHeader,
|
||||||
data,
|
data,
|
||||||
filename: '寄件运单列表',
|
filename: '派件运单列表',
|
||||||
autoWidth: true
|
autoWidth: true
|
||||||
})
|
})
|
||||||
loadingInstance.close()
|
loadingInstance.close()
|
||||||
@ -1020,15 +1024,15 @@ export default {
|
|||||||
formatJson(filterVal, jsonData, resData) {
|
formatJson(filterVal, jsonData, resData) {
|
||||||
let index = 0
|
let index = 0
|
||||||
return jsonData.map(v => filterVal.map(j => {
|
return jsonData.map(v => filterVal.map(j => {
|
||||||
|
|
||||||
if (j === 'index') {
|
if (j === 'index') {
|
||||||
return ++index
|
return ++index
|
||||||
}
|
}
|
||||||
|
if (j === 'kjlx') {
|
||||||
if (j === 'fjlx') {
|
return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
if (j === 'fjr') {
|
if (j === 'fjr') {
|
||||||
return "";
|
return v['sendName']+'--'+v['receiveName'];
|
||||||
}
|
}
|
||||||
if (j === 'sendMobile') {
|
if (j === 'sendMobile') {
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@ -300,8 +300,8 @@
|
|||||||
:height="(slotProps.contentHeight)+'px'"
|
:height="(slotProps.contentHeight)+'px'"
|
||||||
|
|
||||||
ref="refTable"
|
ref="refTable"
|
||||||
|
|
||||||
row-key="id"
|
row-key="id"
|
||||||
|
|
||||||
storageName="sendWaybillList_main_240702"
|
storageName="sendWaybillList_main_240702"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
border
|
border
|
||||||
|
|||||||
@ -29,11 +29,10 @@
|
|||||||
<el-option label="中心驳回" :value="5"></el-option>
|
<el-option label="中心驳回" :value="5"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="修改项目" prop="applyType">
|
<el-form-item label="修改项目" prop="applyType">
|
||||||
<el-select clearable="" v-model="queryParams.applyType" placeholder="请选择">
|
<AjustApplyTypePicker v-model="queryParams.applyType"></AjustApplyTypePicker>
|
||||||
<el-option label="运费" value="001"></el-option>
|
</el-form-item>
|
||||||
</el-select>
|
|
||||||
</el-form-item> -->
|
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@ -201,9 +200,11 @@
|
|||||||
import { listEmisWaybillAjustApply, getEmisWaybillAjustApply, delEmisWaybillAjustApply, addEmisWaybillAjustApply, updateEmisWaybillAjustApply } from "@/api/emis/emisWaybillAjustApply";
|
import { listEmisWaybillAjustApply, getEmisWaybillAjustApply, delEmisWaybillAjustApply, addEmisWaybillAjustApply, updateEmisWaybillAjustApply } from "@/api/emis/emisWaybillAjustApply";
|
||||||
import emisWaybillAjustApplyForm from '@/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm';
|
import emisWaybillAjustApplyForm from '@/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm';
|
||||||
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
||||||
|
import AjustApplyTypePicker from '@/views/emis/EmisBaseTools/AjustApplyTypePicker.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "EmisWaybillAjustApply",
|
name: "EmisWaybillAjustApply",
|
||||||
components: { elDateSimplePicker,emisWaybillAjustApplyForm },
|
components: { elDateSimplePicker,emisWaybillAjustApplyForm,AjustApplyTypePicker},
|
||||||
dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear',
|
dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear',
|
||||||
'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type',
|
'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type',
|
||||||
'emis_calc_fee_type','emis_print_type'],
|
'emis_calc_fee_type','emis_print_type'],
|
||||||
|
|||||||
@ -29,11 +29,9 @@
|
|||||||
<el-option label="中心驳回" :value="5"></el-option>
|
<el-option label="中心驳回" :value="5"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="修改项目" prop="applyType">
|
<el-form-item label="修改项目" prop="applyType">
|
||||||
<el-select clearable="" v-model="queryParams.applyType" placeholder="请选择">
|
<AjustApplyTypePicker v-model="queryParams.applyType"></AjustApplyTypePicker>
|
||||||
<el-option label="运费" value="001"></el-option>
|
</el-form-item>
|
||||||
</el-select>
|
|
||||||
</el-form-item> -->
|
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@ -224,10 +222,11 @@
|
|||||||
import { listEmisWaybillAjustApply, auditDestPass,auditDestNoPass} from "@/api/emis/emisWaybillAjustApply";
|
import { listEmisWaybillAjustApply, auditDestPass,auditDestNoPass} from "@/api/emis/emisWaybillAjustApply";
|
||||||
import emisWaybillAjustApplyForm from '@/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm';
|
import emisWaybillAjustApplyForm from '@/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm';
|
||||||
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
||||||
|
import AjustApplyTypePicker from '@/views/emis/EmisBaseTools/AjustApplyTypePicker.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "EmisWaybillAjustApply",
|
name: "EmisWaybillAjustApply",
|
||||||
components: { elDateAdvPicker,emisWaybillAjustApplyForm },
|
components: { elDateAdvPicker,emisWaybillAjustApplyForm,AjustApplyTypePicker },
|
||||||
dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear',
|
dicts: ['emis_qujian_fangshi','emis_declare_mode','emis_customs_clear',
|
||||||
'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type',
|
'emis_tab_packing_type','emis_tab_dispatch_mode','emis_payment_type',
|
||||||
'emis_calc_fee_type','emis_print_type'],
|
'emis_calc_fee_type','emis_print_type'],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user