Commit 451040b0 authored by dragondean@qq.com's avatar dragondean@qq.com

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

parents f120be2b 4822e908
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
<el-form-item :label="$t('目的港')"> <el-form-item :label="$t('目的港')">
<dockSelect v-model="bookingObj.destPortId" :placeholder="$t('请选择目的港')" portType="1" :allDocks="this.$attrs.allDocks" /> <dockSelect v-model="bookingObj.destPortId" :placeholder="$t('请选择目的港')" portType="1" :allDocks="this.$attrs.allDocks" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('Shipper')"> <el-form-item :label="$t('订舱代理')">
<supplierSelect v-model="bookingObj.shipperId" :companyType="'5'" :placeholder="$t('请选择Shipper')" :allSupplier="this.$attrs.allSupplier" /> <supplierSelect v-model="bookingObj.shipperId" :companyType="'5'" :placeholder="$t('请选择订舱代理')" :allSupplier="this.$attrs.allSupplier" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('航空公司')"> <el-form-item :label="$t('航空公司')">
<supplierSelect v-model="bookingObj.airlineCompanyId" :companyType="'7'" :placeholder="$t('请选择航空公司')" :allSupplier="this.$attrs.allSupplier" /> <supplierSelect v-model="bookingObj.airlineCompanyId" :companyType="'7'" :placeholder="$t('请选择航空公司')" :allSupplier="this.$attrs.allSupplier" />
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<el-form-item :label="$t('特性')" prop="attrId"> <el-form-item :label="$t('特性')" prop="attrId">
<el-select v-model="queryParams.attrId" :placeholder="$t('特性')"> <el-select v-model="queryParams.attrId" :placeholder="$t('特性')">
<el-option v-for="item in attrIdList" :label="item.label" :value="item.value*1" :key="item.value"></el-option> <el-option v-for="item in attrIdList" :label="item.label" :value="item.value" :key="item.value"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -171,8 +171,11 @@ ...@@ -171,8 +171,11 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('箱数')" align="center" prop="warehouseInInfoVO.cartonsNum"> <el-table-column :label="$t('箱数')" align="center" prop="warehouseInInfoVO.cartonsNum">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.warehouseInInfoVO.cartonsNum}} <el-button v-if="scope.row.mixStatus == 1" type="text" @click="seeBox(scope.row.orderId,scope.row.orderItemId)">{{scope.row.warehouseInInfoVO.cartonsNum}}{{$t('(混箱)')}}</el-button>
</template> <template v-else>
{{scope.row.warehouseInInfoVO.cartonsNum}}
</template>
</template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('体积') + '/' + $t('重量') + '/' + $t('重货比')" align="center" width="140" prop="volumeWeight"> <el-table-column :label="$t('体积') + '/' + $t('重量') + '/' + $t('重货比')" align="center" width="140" prop="volumeWeight">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -528,8 +531,8 @@ export default { ...@@ -528,8 +531,8 @@ export default {
/** 特性 */ /** 特性 */
attrIdList() { attrIdList() {
let data = [] let data = []
if(this.queryParams.shippingChannelId){ if(this.queryParams.channelId){
let attrs = this.channelList.find(item=>this.queryParams.shippingChannelId == item.channelId) let attrs = this.channelList.find(item=>this.queryParams.channelId == item.channelId)
if(attrs){ if(attrs){
let attrId = attrs.attrId.split(',') let attrId = attrs.attrId.split(',')
attrId.forEach((item,index)=>{ attrId.forEach((item,index)=>{
...@@ -551,7 +554,7 @@ export default { ...@@ -551,7 +554,7 @@ export default {
this.handleQuery("pre"); this.handleQuery("pre");
this.smartInstall = 0; this.smartInstall = 0;
// 查询渠道 // 查询渠道
getChannelList().then((res) => (this.channelList = res.data)); getChannelList().then((res) => (this.channelList = res.data));
}, },
methods: { methods: {
formatDate, formatDate,
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<el-form-item :label="$t('预计起飞时间')"> <el-form-item :label="$t('预计起飞时间')">
{{getTakeOffTime()}} {{getTakeOffTime()}}
</el-form-item> </el-form-item>
<el-form-item :label="$t('预计到港时间')" prop="est_time"> <el-form-item :label="$t('预计到港时间')" prop="estTime">
<el-date-picker type="datetime" :placeholder="$t('请选择日期')" v-model="twoWayTakeoffObj.est_time" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker> <el-date-picker type="datetime" :placeholder="$t('请选择日期')" v-model="twoWayTakeoffObj.estTime" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item :label="$t('实际起飞时间')" prop="dtRealFlyTime"> <el-form-item :label="$t('实际起飞时间')" prop="dtRealFlyTime">
<el-date-picker type="datetime" :placeholder="$t('请选择日期')" v-model="twoWayTakeoffObj.dtRealFlyTime" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker> <el-date-picker type="datetime" :placeholder="$t('请选择日期')" v-model="twoWayTakeoffObj.dtRealFlyTime" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
let oldData = { ...this.$attrs.shipmentObj[voName] }; let oldData = { ...this.$attrs.shipmentObj[voName] };
oldData = formatDateStr(oldData, ["dtRealFlyTime"], "YYYY-MM-DD HH:mm:ss"); oldData = formatDateStr(oldData, ["dtRealFlyTime"], "YYYY-MM-DD HH:mm:ss");
oldData = formatDateStr(oldData, ["dtRealHeadTime"], "YYYY-MM-DD HH:mm:ss"); oldData = formatDateStr(oldData, ["dtRealHeadTime"], "YYYY-MM-DD HH:mm:ss");
oldData = formatDateStr(oldData, ["est_time"], "YYYY-MM-DD HH:mm:ss"); oldData = formatDateStr(oldData, ["estTime"], "YYYY-MM-DD HH:mm:ss");
this.twoWayTakeoffObj = oldData; this.twoWayTakeoffObj = oldData;
if(this.$attrs.shipmentObj['bookAirInfo'].voyage && this.$attrs.shipmentObj['bookAirInfo'].voyage == 2){ if(this.$attrs.shipmentObj['bookAirInfo'].voyage && this.$attrs.shipmentObj['bookAirInfo'].voyage == 2){
this.dtRealHeadTimeFlag = true this.dtRealHeadTimeFlag = true
......
...@@ -903,7 +903,7 @@ function getColmnMapping() { ...@@ -903,7 +903,7 @@ function getColmnMapping() {
type: "supplier", type: "supplier",
}, },
{ {
title: i18n.$t("Shipper"), title: i18n.$t("订舱代理"),
key: "shipperId", key: "shipperId",
type: "supplier", type: "supplier",
}, },
...@@ -1058,7 +1058,7 @@ function getColmnMapping() { ...@@ -1058,7 +1058,7 @@ function getColmnMapping() {
boxAirFlyInfo: [ boxAirFlyInfo: [
{ {
title: i18n.$t("预计到港时间"), title: i18n.$t("预计到港时间"),
key: "dtRealFlyTime", key: "estTime",
type: "datetime", type: "datetime",
}, },
{ {
......
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