Commit 6e205331 authored by 我在何方's avatar 我在何方
parents 13702cbe 5471d9fb
...@@ -49,6 +49,7 @@ export function exportboxExcel(query) { ...@@ -49,6 +49,7 @@ export function exportboxExcel(query) {
url: "/shipment/box/export-excel", url: "/shipment/box/export-excel",
method: "get", method: "get",
params: query, params: query,
timeout: 5 * 60000,
responseType: "blob", responseType: "blob",
}); });
} }
......
...@@ -683,7 +683,8 @@ export function operateLogPage(params){ ...@@ -683,7 +683,8 @@ export function operateLogPage(params){
return request({ return request({
url: '/ecw/order-operate-log/page', url: '/ecw/order-operate-log/page',
method: 'get', method: 'get',
params: params params: params,
timeout: 5 * 60000
}) })
} }
......
...@@ -5,7 +5,8 @@ export function listOperateLog(query) { ...@@ -5,7 +5,8 @@ export function listOperateLog(query) {
return request({ return request({
url: '/system/operate-log/page', url: '/system/operate-log/page',
method: 'get', method: 'get',
params: query params: query,
timeout: 5*6000,
}) })
} }
...@@ -15,6 +16,8 @@ export function exportOperateLog(query) { ...@@ -15,6 +16,8 @@ export function exportOperateLog(query) {
url: '/system/operate-log/export', url: '/system/operate-log/export',
method: 'get', method: 'get',
params: query, params: query,
timeout: 5*6000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -355,10 +355,13 @@ export default { ...@@ -355,10 +355,13 @@ export default {
} }
let data = { let data = {
transportId: this.form.transportType, transportId: this.form.transportType,
channelId: this.form.shippingChannelId,
departureId: this.form.startWarehouseId, departureId: this.form.startWarehouseId,
objectiveId: this.form.destWarehouseId objectiveId: this.form.destWarehouseId
} }
// 空运才需要渠道
if(data.transportId == 4){
data.channelId = this.form.shippingChannelId
}
// 获得已封柜方数 // 获得已封柜方数
getBoxedVolume(data).then(res => { getBoxedVolume(data).then(res => {
this.$set(this.form, 'loadingNumber', res.data || 0) this.$set(this.form, 'loadingNumber', res.data || 0)
......
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
</el-tab-pane> </el-tab-pane>
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 --> <!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<el-tab-pane :label="$t('操作日志')" name="five" v-if="checkPermi(['ecw:order:logs'])"> <el-tab-pane :label="$t('操作日志')" name="five" v-if="checkPermi(['ecw:order:logs'])">
<el-table :data="logs"> <el-table :data="logs" v-loading="logsLoading">
<el-table-column :label="$t('时间')" width="150"> <el-table-column :label="$t('时间')" width="150">
<template slot-scope="{row}">{{ parseTime(row.createTime) }}</template> <template slot-scope="{row}">{{ parseTime(row.createTime) }}</template>
</el-table-column> </el-table-column>
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
showWarehouseInItemId: null, // 当前显示的入仓 showWarehouseInItemId: null, // 当前显示的入仓
showFeeDetailDialog: null, // 是否显示费用详情弹层 showFeeDetailDialog: null, // 是否显示费用详情弹层
feeDetail: null, // 费用详情 feeDetail: null, // 费用详情
logsLoading: false, // 日志加载中
logs: [], // 操作日志 logs: [], // 操作日志
activeNames: [],//显示隐藏订单基本信息 activeNames: [],//显示隐藏订单基本信息
showText:this.$t('显示更多') showText:this.$t('显示更多')
...@@ -668,8 +668,11 @@ export default { ...@@ -668,8 +668,11 @@ export default {
}, },
// 加载操作日志 // 加载操作日志
loadLogs(){ loadLogs(){
this.logsLoading = true
operateLogPage({orderId: this.orderId, page: 1, rows: 10000}).then(res => { operateLogPage({orderId: this.orderId, page: 1, rows: 10000}).then(res => {
this.logs = res.data.list this.logs = res.data.list
}).finally(() => {
this.logsLoading = false
}) })
}, },
downloadPackingList(){ downloadPackingList(){
......
...@@ -330,9 +330,7 @@ ...@@ -330,9 +330,7 @@
<!-- 合单日志,提货日志 --> <!-- 合单日志,提货日志 -->
<template v-if="( <template v-if="(
scope.row.status > 2 && scope.row.status > 2
exclude(scope.row.status + '-' + scope.row.shipmentState, ['17-391', '18-392', '15-332', '15-330']) &&
exclude(scope.row.status + '-' + scope.row.inWarehouseState, ['16-202'])
)"> )">
<el-dropdown-item @click.native="showMergedLogOrderNo=scope.row.orderNo" v-hasPermi="['ecw:order:merge_log']">{{$t('合单日志')}}</el-dropdown-item> <el-dropdown-item @click.native="showMergedLogOrderNo=scope.row.orderNo" v-hasPermi="['ecw:order:merge_log']">{{$t('合单日志')}}</el-dropdown-item>
<el-dropdown-item @click.native="showPickupLogOrderNo=scope.row.orderNo" v-hasPermi="['ecw:order:split_log']">{{$t('提货日志')}}</el-dropdown-item> <el-dropdown-item @click.native="showPickupLogOrderNo=scope.row.orderNo" v-hasPermi="['ecw:order:split_log']">{{$t('提货日志')}}</el-dropdown-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment