Commit 992ac62c authored by dragondean@qq.com's avatar dragondean@qq.com

Merge remote-tracking branch 'origin/dev' into dev

parents daaf98a4 ca84f554
...@@ -253,6 +253,20 @@ export function getMergeTagById(id) { ...@@ -253,6 +253,20 @@ export function getMergeTagById(id) {
}); });
} }
/**
* 完成合包
*
* @export
* @param {*} data
* @return {*}
*/
export function finishMergePkg(shipmentId) {
return request({
url: "/ecw/box-merge-pkg/finishMergePkg?shipmentId="+shipmentId,
method: "get"
});
}
/***************************** 合包 end **********************************/ /***************************** 合包 end **********************************/
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
type="primary" type="primary"
@click=" @click="
addMergedialogVisible = true addMergedialogVisible = true
isMergeEdit = false
addMergeForm = {} addMergeForm = {}
mergeTitle = $t('新建合包箱号') mergeTitle = $t('新建合包箱号')
" "
...@@ -123,7 +124,7 @@ ...@@ -123,7 +124,7 @@
</template> </template>
<script> <script>
import { getMergePkgList, createMergePkg, updateMergePkg, deleteMergePkg, getMergeTagById } from '@/api/ecw/boxAir' import { getMergePkgList, createMergePkg, updateMergePkg, deleteMergePkg, getMergeTagById, finishMergePkg } from '@/api/ecw/boxAir'
import { formatDate, serviceMsg } from '../../utils' import { formatDate, serviceMsg } from '../../utils'
import unPkgPage from './unPkgPage.vue' import unPkgPage from './unPkgPage.vue'
import PkgPage from './pkgPage.vue' import PkgPage from './pkgPage.vue'
...@@ -249,7 +250,13 @@ export default { ...@@ -249,7 +250,13 @@ export default {
this.getList() this.getList()
this.pkgPagedialogVisible = false this.pkgPagedialogVisible = false
}, },
finish() {} finish() {
finishMergePkg(this.$attrs.shipmentObj.id).then((res) => {
serviceMsg(res, this).then(() => {
this.$emit("closeDialog", "submit");
});
});
}
} }
} }
</script> </script>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,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>
...@@ -108,6 +108,14 @@ export default { ...@@ -108,6 +108,14 @@ export default {
}) })
return arr.toString() return arr.toString()
}, },
getpositionNo(arr){
if(!arr) return arr
let data = []
arr.forEach(item=>{
data.push(item.locationName)
})
return data.toString()
},
addPkg(row) { addPkg(row) {
let data = { let data = {
pkgId: this.pkgData.id, pkgId: this.pkgData.id,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="app-seaStepDetail"> <div class="app-seaStepDetail">
<el-scrollbar :vertical="true" viewClass="shipping-step"> <el-scrollbar :vertical="true" viewClass="shipping-step">
<template v-for="(step, index) in flatSeaStep"> <template v-for="(step, index) in flatSeaStep">
<div :key="index" v-if="shipmentObj[step.voName] && columnsMapping[step.voName] && checkPermi(['box:'+step.type+':show'])" class="step-table"> <div :key="index" v-if="shipmentObj[step.voName] && columnsMapping[step.voName] && checkPermi(['boxAir:'+step.type+':show'])" class="step-table">
<div class="step-title">{{step.title}}</div> <div class="step-title">{{step.title}}</div>
<div v-for="(data, index) in columnsMapping[step.voName]" :key="index" class="step-content"> <div v-for="(data, index) in columnsMapping[step.voName]" :key="index" class="step-content">
<p>{{data.title}}</p> <p>{{data.title}}</p>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<seaProcess :seaBaseData="seaBaseData" :shipmentObj="shipmentObj" :allSupplier="allSupplier" :allDocks="allDocks" :allUsers="allUsers" :allLading="allLading" :warehouseList="warehouseList" @getBoxInfo="getBoxInfo" /> <seaProcess :seaBaseData="seaBaseData" :shipmentObj="shipmentObj" :allSupplier="allSupplier" :allDocks="allDocks" :allUsers="allUsers" :allLading="allLading" :warehouseList="warehouseList" @getBoxInfo="getBoxInfo" />
<!-- 海运步骤图 --> <!-- 海运步骤图 -->
<seaStepDetail :seaBaseData="seaBaseData" :shipmentObj="shipmentObj" :allSupplier="allSupplier" :allDocks="allDocks" :allUsers="allUsers" :warehouseList="warehouseList" /> <seaStepDetail v-if="seaBaseData.length>0" :seaBaseData="seaBaseData" :shipmentObj="shipmentObj" :allSupplier="allSupplier" :allDocks="allDocks" :allUsers="allUsers" :warehouseList="warehouseList" />
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
......
This diff is collapsed.
...@@ -958,6 +958,7 @@ ...@@ -958,6 +958,7 @@
changeExceptionStatus(){ changeExceptionStatus(){
this.$set(this.handlerParams,'orderExceptionHandlerResult','') this.$set(this.handlerParams,'orderExceptionHandlerResult','')
}, },
//订单详情
getOrderData(){ getOrderData(){
getOrder(this.orderId).then(response => { getOrder(this.orderId).then(response => {
this.orderData = response.data this.orderData = response.data
...@@ -974,11 +975,11 @@ ...@@ -974,11 +975,11 @@
this.orderData.orderItemVOList.map(v=>{ this.orderData.orderItemVOList.map(v=>{
if(!v.oneSeaFreight){ if(!v.oneSeaFreight){
v.seaFreightCurrency = this.currencyList[0]['id'] v.seaFreightCurrency = this.currencyList[0]['id']
v.seaFreightVolume = this.unitList[0]['id'] v.seaFreightVolume = this.unitList[1]['id']
} }
if(!v.oneClearanceFreight){ if(!v.oneClearanceFreight){
v.clearanceFreightCurrency = this.currencyList[0]['id'] v.clearanceFreightCurrency = this.currencyList[0]['id']
v.clearanceFreightVolume = this.unitList[0]['id'] v.clearanceFreightVolume = this.unitList[1]['id']
} }
}) })
} }
......
...@@ -856,7 +856,9 @@ export default { ...@@ -856,7 +856,9 @@ export default {
} }
serviceConfig({ serviceConfig({
lineId: this.lineform.lineId, lineId: this.lineform.lineId,
otherService: otherService.join(',') otherService: otherService.join(','),
isClientShow:this.ladingform.isClientShow,
makeBillNode:this.ladingform.makeBillNode
}).then(res => { }).then(res => {
this.$modal.msgSuccess(this.$t("操作成功")); this.$modal.msgSuccess(this.$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