Commit ceb11a90 authored by houjn@hikoon.cn's avatar houjn@hikoon.cn
parents b3efc42b 18aa1c2e
...@@ -557,6 +557,7 @@ export function orderExportSearch(params){ ...@@ -557,6 +557,7 @@ export function orderExportSearch(params){
return request({ return request({
url: '/ecw/order/export/search', url: '/ecw/order/export/search',
method: 'GET', method: 'GET',
timeout: 5 * 60000,
responseType: 'arraybuffer', responseType: 'arraybuffer',
params params
}) })
...@@ -568,6 +569,7 @@ export function orderExportMySearch(params){ ...@@ -568,6 +569,7 @@ export function orderExportMySearch(params){
url: '/ecw/order/export/my/search', url: '/ecw/order/export/my/search',
responseType: 'arraybuffer', responseType: 'arraybuffer',
method: 'GET', method: 'GET',
timeout: 5 * 60000,
params params
}) })
} }
...@@ -578,6 +580,7 @@ export function orderExportDeptSearch(params){ ...@@ -578,6 +580,7 @@ export function orderExportDeptSearch(params){
url: '/ecw/order/export/dept/search', url: '/ecw/order/export/dept/search',
method: 'GET', method: 'GET',
responseType: 'arraybuffer', responseType: 'arraybuffer',
timeout: 5 * 60000,
params params
}) })
} }
...@@ -588,6 +591,7 @@ export function exportAbnormal(params){ ...@@ -588,6 +591,7 @@ export function exportAbnormal(params){
url: '/ecw/order/export/export-exception', url: '/ecw/order/export/export-exception',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -599,6 +603,7 @@ export function exportHeavyOrder(params){ ...@@ -599,6 +603,7 @@ export function exportHeavyOrder(params){
url: '/ecw/order/export/export-heavyOrder', url: '/ecw/order/export/export-heavyOrder',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -609,6 +614,7 @@ export function exportReturnOrder(params){ ...@@ -609,6 +614,7 @@ export function exportReturnOrder(params){
url: '/ecw/order/export/export-returnOrder', url: '/ecw/order/export/export-returnOrder',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -619,6 +625,7 @@ export function exportSaleRepay(params){ ...@@ -619,6 +625,7 @@ export function exportSaleRepay(params){
url: '/ecw/order/export/export-saleRepay', url: '/ecw/order/export/export-saleRepay',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -630,6 +637,7 @@ export function exportCustomsDatas(params){ ...@@ -630,6 +637,7 @@ export function exportCustomsDatas(params){
url: '/ecw/order/export/export-customDatas', url: '/ecw/order/export/export-customDatas',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -641,6 +649,7 @@ export function exportShippingDatas(params){ ...@@ -641,6 +649,7 @@ export function exportShippingDatas(params){
url: '/ecw/order/export/export-shipDatas', url: '/ecw/order/export/export-shipDatas',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -652,6 +661,7 @@ export function exportShipFee(params){ ...@@ -652,6 +661,7 @@ export function exportShipFee(params){
url: '/ecw/order/export/export-shipFee', url: '/ecw/order/export/export-shipFee',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -663,6 +673,7 @@ export function exportUnload(params){ ...@@ -663,6 +673,7 @@ export function exportUnload(params){
url: '/ecw/order/export/export-excel', url: '/ecw/order/export/export-excel',
method: 'get', method: 'get',
params: params, params: params,
timeout: 5 * 60000,
responseType: 'blob' responseType: 'blob'
}) })
} }
......
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
this.DICT_TYPE.ECW_TRANSPORT_TYPE this.DICT_TYPE.ECW_TRANSPORT_TYPE
).filter((item) => item.value == "1" || item.value == "2"); ).filter((item) => item.value == "1" || item.value == "2");
getWarehouseList().then((res) => (this.warehouseList = res.data)); getWarehouseList().then((res) => (this.warehouseList = res.data));
getCabinetPage(null).then((response) => { getCabinetPage({status:0}).then((response) => {
this.cabinetList = response.data.list; this.cabinetList = response.data.list;
}); });
this.getList(); this.getList();
......
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
this.DICT_TYPE.ECW_TRANSPORT_TYPE this.DICT_TYPE.ECW_TRANSPORT_TYPE
).filter((item) => item.value == "4"); ).filter((item) => item.value == "4");
getWarehouseList().then((res) => (this.warehouseList = res.data)); getWarehouseList().then((res) => (this.warehouseList = res.data));
getCabinetPage(null).then((response) => { getCabinetPage({status:0}).then((response) => {
this.cabinetList = response.data.list; this.cabinetList = response.data.list;
}); });
this.getList(); this.getList();
......
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
list.push({ list.push({
...oItem, ...oItem,
warehouseInInfo, warehouseInInfo,
// multiSpecification: item.multiSpecification, multiSpecification: item.multiSpecification,
positionNo: oItem.positionNo, positionNo: oItem.positionNo,
tallyStatus: item.tallyStatus, tallyStatus: item.tallyStatus,
tallyTime: item.tallyTime, tallyTime: item.tallyTime,
......
...@@ -105,6 +105,7 @@ export default { ...@@ -105,6 +105,7 @@ export default {
currNode: {}, currNode: {},
// 数据 // 数据
processData: this.seaBaseData, processData: this.seaBaseData,
errorMsg: this.$t('请先完成上一步')
}; };
}, },
created() {}, created() {},
...@@ -137,7 +138,7 @@ export default { ...@@ -137,7 +138,7 @@ export default {
return; return;
} }
if (currIndex > this.currIndex) { if (currIndex > this.currIndex) {
this.$message.error(this.$t("请先完成上一步")); this.$message.error(this.errorMsg);
return; return;
} }
this.currNode = node; this.currNode = node;
...@@ -247,6 +248,7 @@ export default { ...@@ -247,6 +248,7 @@ export default {
(type === "departure" && val.shippingHasAbnormal) || (type === "departure" && val.shippingHasAbnormal) ||
(type === "arrival" && val.arrivalHasAbnormal) (type === "arrival" && val.arrivalHasAbnormal)
) { ) {
this.errorMsg = this.$t('请先处理完出货异常,再进行操作')
continue; continue;
} }
// 报关 // 报关
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
:label="$t('入库货物属性')"> :label="$t('入库货物属性')">
<template v-slot="{row}"> <template v-slot="{row}">
<template v-if="row.warehouseInInfoVO"> <template v-if="row.warehouseInInfoVO">
{{$t('品牌')}}{{ [$t('无牌'), $t('有牌'), $t('中性')][row.feeType] }}<br> {{$t('品牌')}}{{ row.brandName }}<br>
{{$t('箱数')}}{{ row.warehouseInInfoVO.cartonsNum }}<br> {{$t('箱数')}}{{ row.warehouseInInfoVO.cartonsNum }}<br>
{{$t('体积')}}{{ row.warehouseInInfoVO.volume }}<br> {{$t('体积')}}{{ row.warehouseInInfoVO.volume }}<br>
{{$t('重量')}}{{ row.warehouseInInfoVO.weight }}Kg {{$t('重量')}}{{ row.warehouseInInfoVO.weight }}Kg
......
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