Commit d6896598 authored by zhoutong's avatar zhoutong

处理空运出货的一些bug

parent dd93306e
...@@ -71,6 +71,8 @@ export default { ...@@ -71,6 +71,8 @@ export default {
this.form = { ...this.shipmentObj }; this.form = { ...this.shipmentObj };
if(this.form.destinationClearance && this.form.destinationClearance != 3){ if(this.form.destinationClearance && this.form.destinationClearance != 3){
this.form.destinationClearanceSelect = 1 this.form.destinationClearanceSelect = 1
}else{
this.form.destinationClearanceSelect = 3
} }
this.getChannelList() this.getChannelList()
}, },
......
...@@ -419,7 +419,10 @@ export default { ...@@ -419,7 +419,10 @@ export default {
this.$set(this.dialogCfg, 'fullscreen', false) this.$set(this.dialogCfg, 'fullscreen', false)
this.$set(this.dialogCfg, 'open', true) this.$set(this.dialogCfg, 'open', true)
this.currRow = { this.currRow = {
transportType: '3' transportType: '3',
destinationClearanceSelect: 1,
destinationClearance: 1,
deliveryType: 1
} }
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
...@@ -463,7 +466,7 @@ export default { ...@@ -463,7 +466,7 @@ export default {
return exportboxExcel(params) return exportboxExcel(params)
}) })
.then((response) => { .then((response) => {
this.$download.excel(response, '${table.classComment}.xls') this.$download.excel(response, this.$t("空运管理") + ".xls");
this.exportLoading = false this.exportLoading = false
}) })
.catch(() => {}) .catch(() => {})
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<el-table-column :label="$t('储位')" align="center" prop="positionNo" width="250px"> <el-table-column :label="$t('储位')" align="center" prop="positionNo" width="250px">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div v-for="item in row.orderItemDOS" :key="item.orderItemId"> <div v-for="item in row.orderItemDOS" :key="item.orderItemId">
{{ notset(item.positionNo) }} {{ notset(getpositionNo(item.warehouseInInfoVO.orderLocationMergeVOSet)) }}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -184,6 +184,14 @@ export default { ...@@ -184,6 +184,14 @@ export default {
}) })
return arr.toString() return arr.toString()
}, },
getpositionNo(arr){
if(!arr) return arr
let data = []
arr.forEach(item=>{
data.push(item.areaName+item.locationName)
})
return data.toString()
},
removePkg(row) { removePkg(row) {
deleteRelate(this.pkgData.id, row.orderId).then(() => { deleteRelate(this.pkgData.id, row.orderId).then(() => {
this.$message.success(this.$t('移出成功')) this.$message.success(this.$t('移出成功'))
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
if(!arr) return arr if(!arr) return arr
let data = [] let data = []
arr.forEach(item=>{ arr.forEach(item=>{
data.push(item.locationName) data.push(item.areaName+item.locationName)
}) })
return data.toString() return data.toString()
}, },
......
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
}); });
const voName = this.$attrs.currNode.voName; const voName = this.$attrs.currNode.voName;
let oldData = { ...this.shipmentObj[voName] }; let oldData = { ...this.shipmentObj[voName] };
if(oldData.issueType == 0) oldData.issueType = 2 if(!oldData.issueType || oldData.issueType == 0) oldData.issueType = 2
oldData = formatNumberString(oldData, ["issueType"]); oldData = formatNumberString(oldData, ["issueType"]);
this.subMaterialObj = { this.subMaterialObj = {
...oldData, ...oldData,
......
...@@ -666,11 +666,11 @@ const constantDict = { ...@@ -666,11 +666,11 @@ const constantDict = {
billingMethod: [ billingMethod: [
{ {
value: "1", value: "1",
label: i18n.$t("电放"), label: i18n.$t("正本"),
}, },
{ {
value: "2", value: "2",
label: i18n.$t("正本"), label: i18n.$t("电放"),
}, },
], ],
// 是否有文件 // 是否有文件
......
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