修改问题

master
sunzehua 2 weeks ago
parent 3576aa04b8
commit 4f9f81ba4c

12
.env

@ -1,15 +1,15 @@
NODE_ENV=production
VUE_APP_PREVIEW=true
# VUE_APP_TYPE = 'customer'
VUE_APP_TYPE = 'hechuan'
# VUE_APP_TYPE = 'yunyingduan'
# VUE_APP_TYPE = 'hechuan'
VUE_APP_TYPE = 'yunyingduan'
# VUE_APP_TYPE = 'gangjie'
# VUE_APP_TYPE = 'puqi'
# 打包部署的三个端 客户端customer 和川端hechuan 运营端djy
# 和川大简云正式
VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api
VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345
# VUE_APP_API_BASE_URL=http://47.104.85.216:12345/api
# VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345
# 和川大简云测试
# VUE_APP_API_BASE_URL=http://60.209.125.238:35100
@ -32,8 +32,8 @@ VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345
# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6001
# 运营端正式
# VUE_APP_API_BASE_URL=http://118.190.144.189:6002
# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6002
VUE_APP_API_BASE_URL=http://118.190.144.189:6002
VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6002
# puqi
# VUE_APP_API_BASE_URL=http://118.190.144.189:5003

@ -1,8 +1,8 @@
NODE_ENV=development
VUE_APP_PREVIEW=true
VUE_APP_TYPE = 'customer'
# VUE_APP_TYPE = 'customer'
# VUE_APP_TYPE = 'hechuan'
# VUE_APP_TYPE = 'yunyingduan'
VUE_APP_TYPE = 'yunyingduan'
# VUE_APP_TYPE = 'gangjie'
# VUE_APP_TYPE = 'puqi'
# 打包部署的三个端 客户端customer 和川端hechuan 运营端yunyingduan
@ -31,12 +31,12 @@ VUE_APP_TYPE = 'customer'
# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001
# 运营端正式
# VUE_APP_API_BASE_URL=http://118.190.144.189:6002
# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6002
VUE_APP_API_BASE_URL=http://118.190.144.189:6002
VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6002
# 客户端正式
VUE_APP_API_BASE_URL=http://118.190.144.189:6001
VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6001
# VUE_APP_API_BASE_URL=http://118.190.144.189:6001
# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:6001
# puqi
# VUE_APP_API_BASE_URL=http://118.190.144.189:5003

@ -1602,7 +1602,7 @@
@ok="handleSubimtVess"
okText="发送"
:title="vessTitle"
:width="1300"
:width="1600"
:visible="vesselFlag"
@cancel="vesselFlag = false">
<a-spin :spinning="vesselLoad">
@ -1635,6 +1635,11 @@
<span v-if="record.trans" style="color:green"></span>
<span v-if="!record.trans" style="color:red"></span>
</span>
<span slot="vesselInfo" slot-scope="text, record">
<span>{{ record.vesselName }}</span>/
<span>{{ record.voyageNumber }}</span>/
<span>{{ record.serviceCode }}</span>
</span>
<a-table
slot="expandedRowRender"
slot-scope="record"
@ -1643,6 +1648,11 @@
:columns="innerColumnsOne"
:data-source="record.oceanLegs"
:pagination="false">
<span slot="vesselInfo" slot-scope="text, record1">
<span>{{ record1.vesselName }}</span>/
<span>{{ record1.voyageNumber }}</span>/
<span>{{ record1.serviceCode }}</span>
</span>
</a-table>
</a-table>
@ -1703,7 +1713,7 @@ const startDetails = {
cargoid: '',
ctnList: [],
tempid: 'C',
bookingAddr:''
bookingAddr: ''
}
export default {
components: {
@ -1866,19 +1876,10 @@ export default {
key: 'podArrivalDate'
},
{
dataIndex: 'vesselName',
title: '船名',
key: 'vesselName'
},
{
dataIndex: 'voyageNumber',
title: '航次',
key: 'voyageNumber'
},
{
dataIndex: 'serviceCode',
title: '航线',
key: 'serviceCode'
dataIndex: 'vesselInfo',
title: '船舶信息',
key: 'vesselInfo',
scopedSlots: { customRender: 'vesselInfo' }
},
{
dataIndex: 'days',
@ -1889,7 +1890,28 @@ export default {
dataIndex: 'trans',
title: '是否直达',
key: 'trans',
width: 80,
scopedSlots: { customRender: 'trans' }
},
{
dataIndex: 'inlandCutOff',
title: '内陆截至时间',
key: 'inlandCutOff'
},
{
dataIndex: 'portCutOff',
title: '港口截止时间',
key: 'portCutOff'
},
{
dataIndex: 'docCutOff',
title: '内陆截止时间',
key: 'docCutOff'
},
{
dataIndex: 'vgmCutOff',
title: '港口截止时间',
key: 'vgmCutOff'
}
],
vesscolumnsCOSCO: [
@ -1931,16 +1953,6 @@ export default {
title: '预计到达',
key: 'podArrivalDate'
}
// {
// dataIndex: 'originName',
// title: '',
// key: 'originName'
// },
// {
// dataIndex: 'originName',
// title: '',
// key: 'originName'
// }
],
innerColumns: [
{
@ -1981,24 +1993,35 @@ export default {
],
innerColumnsOne: [
{
dataIndex: 'inlandCutOff',
title: '内陆截止时间',
key: 'inlandCutOff'
dataIndex: 'polPortName',
title: '起运港',
key: 'polPortName'
},
{
dataIndex: 'portCutOff',
title: '口截止时间',
key: 'portCutOff'
dataIndex: 'podPortName',
title: '目的港',
key: 'podPortName'
},
{
dataIndex: 'docCutOff',
title: '文件截止时间',
key: 'docCutOff'
dataIndex: 'podETA',
title: '预抵日期',
key: 'podETA'
},
{
dataIndex: 'vgmCutOff',
title: 'VGM截止时间',
key: 'vgmCutOff'
dataIndex: 'polETD',
title: '开船日期',
key: 'polETD'
},
{
dataIndex: 'vesselInfo',
title: '船舶信息',
key: 'vesselInfo',
scopedSlots: { customRender: 'vesselInfo' }
},
{
dataIndex: 'days',
title: '航程',
key: 'days'
}
],
contractnoList: [],
@ -2965,17 +2988,7 @@ export default {
})
}
if (this.details.carrierid === 'ONE') {
res.data.forEach(item => {
item.oceanLegs = []
item.oceanLegs.push(
{
vgmCutOff:item.vgmCutOff,
docCutOff:item.docCutOff,
portCutOff:item.portCutOff,
inlandCutOff:item.inlandCutOff
}
)
})
}
this.vesselList = res.data
} else {

@ -75,11 +75,12 @@
<a-col :span="'4-8'">
<a-form-model-item
class="from-label"
label="合约号"
label="订舱账号"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
has-feedback>
{{ details.contractno }}
has-feedback
prop="bookingAccount">
{{ details.bookingAccount }}
</a-form-model-item>
</a-col>
</a-row>
@ -87,12 +88,21 @@
<a-col :span="'4-8'">
<a-form-model-item
class="from-label"
label="订舱账号"
label="合约号"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
has-feedback
prop="bookingAccount">
{{ details.bookingAccount }}
has-feedback>
{{ details.contractno }}
</a-form-model-item>
</a-col>
<a-col :span="'4-8'" v-if="details.carrierid == 'ONE'">
<a-form-model-item
class="from-label"
label="Named Account"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
has-feedback>
{{ details.namedAccount }}
</a-form-model-item>
</a-col>
<a-col :span="'4-8'">
@ -125,6 +135,8 @@
{{ details.lanecode }}
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="'4-8'">
<a-form-model-item
class="from-label"
@ -136,8 +148,6 @@
{{ details.etd }}
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="'4-8'">
<a-form-model-item
class="from-label"
@ -149,7 +159,7 @@
{{ details.service }}
</a-form-model-item>
</a-col>
<a-col :span="'4-8'">
<a-col :span="'4-8'" v-if="details.carrierid == 'COSCO'">
<a-form-model-item
class="from-label"
label="付费方式"
@ -160,6 +170,17 @@
{{ details.blfrt }}
</a-form-model-item>
</a-col>
<a-col :span="'4-12'" v-if="details.carrierid == 'ONE'">
<a-form-model-item
class="from-label"
label="订舱网点"
:labelCol="{span:7}"
:wrapperCol="{span:17}"
has-feedback
prop="bookingAddr">
{{ details.bookingAddr }}
</a-form-model-item>
</a-col>
</a-row>
</div>
<div v-if="details.carrierid == 'EMC'" >
@ -510,7 +531,7 @@
</a-col>
</a-row>
</div>
<div v-if="details.carrierid !== 'EMC'" >
<div v-if="details.carrierid == 'COSCO'" >
<a-row :gutter="100" style="padding-left:60px">
<a-col :span="12">
<div class="row-title">发货人</div>
@ -763,6 +784,87 @@
</a-col>
</a-row>
</div>
<div v-if="details.carrierid == 'ONE'">
<a-row :gutter="100" style="padding-left:60px">
<a-col :span="12">
<div class="row-title">订舱人</div>
<div>
{{ details.shipperName1 }}
</div>
<div style="margin-top:10px">
<a-input disabled size="small" placeholder="订舱人地址" style="width:100%" v-model="details.shipperAddress1" />
</div>
</a-col>
<a-col :span="12">
<div class="row-title">货运代理</div>
<div>
{{ details.shipperName }}
</div>
<div style="margin-top:10px">
<a-input disabled size="small" placeholder="货运代理地址" style="width:100%" v-model="details.shipperAddress" />
</div>
</a-col>
</a-row>
<a-row :gutter="100" style="padding-left:60px;margin-top:20px">
<a-col :span="12">
<div class="row-title">托运人</div>
<div>
{{ details.bookingName }}
<div style="margin-top:10px">
<a-input disabled size="small" placeholder="托运人地址" style="width:100%" v-model="details.bookingAddress" />
</div>
</div>
</a-col>
<a-col :span="12">
<div class="row-title">收货人</div>
<div>
{{ details.consigneeName }}
<div style="margin-top:10px">
<a-input disabled size="small" placeholder="收货人地址" style="width:100%" v-model="details.consigneeAddress" />
</div>
</div>
</a-col>
</a-row>
<a-row style="margin-top:10px">
<a-col :span="18">
<a-form-model-item
class="from-label"
label="订舱品名"
:labelCol="{ span: 2 }"
:wrapperCol="{ span: 22 }"
has-feedback
prop="description">
<a-input disabled size="small" v-model="details.description" />
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="18">
<a-form-model-item
class="from-label"
label="订舱要求"
:labelCol="{ span: 2 }"
:wrapperCol="{ span: 22 }"
has-feedback
prop="soremark">
<a-input disabled size="small" v-model="details.soremark" />
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="18">
<a-form-model-item
class="from-label"
label="接收通知邮箱"
:labelCol="{ span: 2 }"
:wrapperCol="{ span: 22 }"
has-feedback
prop="opMail">
<a-input disabled size="small" placeholder="多个邮箱使用,分隔" v-model="details.opMail" />
</a-form-model-item>
</a-col>
</a-row>
</div>
<a-row>
<a-col style="display: flex;margin-top: 20px;" :span="8">
@ -1423,4 +1525,8 @@ export default {
}
}
}
.ant-col-4-12 {
width: 29%;
display: inline-block;
}
</style>

@ -217,7 +217,10 @@
has-feedback
prop="reeferf"
>
<inputView :ishd="BookingLockOrder['reeferf'] && isLockBooking" type="reeferf" size="small" :parentVal="details.reeferf" @getInputChange="inputChange"/>
<div class="line-box">
<a-input :disabled="BookingLockOrder['reeferf'] && isLockBooking" size="small" :allowClear="true" v-model="details.reeferf" />
<span class="unit"> CBM/H</span>
</div>
</a-form-model-item>
</a-col>
<a-col :span="12">
@ -267,7 +270,10 @@
:wrapperCol="wrapperCol"
has-feedback
prop="humidity">
<inputView :ishd="BookingLockOrder['humidity'] && isLockBooking" type="humidity" size="small" :parentVal="details.humidity" @getInputChange="inputChange"/>
<div class="line-box">
<a-input :disabled="BookingLockOrder['humidity'] && isLockBooking" size="small" :allowClear="true" v-model="details.humidity" />
<span class="unit"> %</span>
</div>
</a-form-model-item>
</a-col>
</template>

@ -1376,7 +1376,7 @@
</div>
</a-modal>
<a-modal title="发送VGM" @cancel="vgmhcFlag = false" width="400px" :footer="false" v-model="vgmhcFlag">
<a-modal title="发送VGM" @cancel="vgmhcFlag = false" width="600px" :footer="false" v-model="vgmhcFlag">
<div>
<a-checkbox v-model="isSendCarr" style="margin-right: 20px;"> </a-checkbox>
<a-checkbox v-model="isSendYGT"> </a-checkbox>
@ -1384,6 +1384,7 @@
<div class="model-btn-list" style="margin-top: 25px;text-align: center;">
<a-button class="btn" type="primary" @click="handleSendVgmByHc(true)"></a-button>
</div>
<div style="color: red;margin-top: 10px" >免费直发船司VGMANL/CMA/CNC/EMC/ESL/ONE/PIL(需关注船司回执).</div>
</a-modal>
<a-modal title="发送结果" @cancel="vgmResult = false" width="1000px" :footer="false" v-model="vgmResult">
@ -2877,14 +2878,14 @@ export default {
} else if (type === 'trace') {
this.traceModalVisible = true
} else if (type === 'vgm') {
// if (process.env.VUE_APP_TYPE === 'hechuan') {
// this.vgmhcFlag = true
// this.isSendYGT = true
// this.isSendCarr = true
// } else {
// this.openDialog(type)
// }
this.openDialog(type)
if (process.env.VUE_APP_TYPE === 'hechuan') {
this.vgmhcFlag = true
this.isSendYGT = true
this.isSendCarr = true
} else {
this.openDialog(type)
}
// this.openDialog(type)
} else if (type === 'paper') {
this.openDialog(type)
}

@ -52,6 +52,13 @@
</a-col>
</a-row>
<a-row v-if="$route.query.carrierid=='ONE'" >
<a-col :span="24">
<a-form-model-item :label-col="{span:2}" :wrapper-col="{span:22}" class="strong" label="订舱通知邮箱">
<a-input size="small" placeholder="多个邮箱使用,分隔" v-model="form.bcReceiveEmail" />
</a-form-model-item>
</a-col>
</a-row>
<a-row >
<a-col :span="6">
<a-form-model-item class="strong" label="是否启用模板">
@ -342,7 +349,8 @@ export default {
query: {
id: res.data.id,
noOpenTab: true,
type: 'edit'
type: 'edit',
carrierid: this.$route.query.carrierid
}
})
}

@ -321,7 +321,7 @@ export default {
const pkIdArr = select.map((item, index) => {
return item.id
})
this.$router.push({ name: 'ruleTempDetail', query: { type: 'copy', id: pkIdArr[0] } })
this.$router.push({ name: 'ruleTempDetail', query: { type: 'copy', id: pkIdArr[0], carrierid: select[0].carrierId } })
},
handleAdd() {
this.addVisible = true
@ -344,10 +344,10 @@ export default {
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
},
handledbclick(row) {
this.$router.push({ name: 'ruleTempDetail', query: { id: row.row.id, type: 'edit' } })
this.$router.push({ name: 'ruleTempDetail', query: { id: row.row.id, type: 'edit', carrierid: row.row.carrierId } })
},
handleEdit(row) {
this.$router.push({ name: 'ruleTempDetail', query: { id: row.id, type: 'edit' } })
this.$router.push({ name: 'ruleTempDetail', query: { id: row.id, type: 'edit', carrierid: row.carrierId } })
},
carrierSearch(data) {
GetCarrierlist({ KeyWord: data }).then(res => {

Loading…
Cancel
Save