dev
lilu 2 years ago
parent 3dd87d3108
commit 8f3f4d8a99

@ -95,7 +95,7 @@
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
<% } %>
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3756681_3akyt29bxji.css" />
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3756681_v18rtd38mv.css" />
<!-- 1.8K仔百度收录 -->
<meta name="baidu-site-verification" content="code-QVfBYJ5laQ" />
</head>

@ -264,6 +264,7 @@
show-time
format="YYYY-MM-DD HH:mm:ss"
v-model="details.closingdate"
@change="closingdateChange"
>
<a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker>
@ -282,6 +283,7 @@
show-time
format="YYYY-MM-DD HH:mm:ss"
v-model="details.closedocdate"
@change="closedocdateChange"
>
<a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker>
@ -300,6 +302,7 @@
show-time
format="YYYY-MM-DD HH:mm:ss"
v-model="details.closevgmdate"
@change="closevgmdateChange"
>
<a-icon slot="suffixIcon" type="time" style="display: none" />
</a-date-picker>
@ -1589,6 +1592,15 @@ export default {
}
if (a.length == 1 && a.substr(0, 1) != "0") strRet += arr3[a.substr(0, 1)];
return strRet
},
closingdateChange (date, dateString) {
this.details.closingdate = dateString
},
closevgmdateChange (date, dateString) {
this.details.closevgmdate = dateString
},
closedocdateChange (date, dateString) {
this.details.closedocdate = dateString
}
}
}

@ -261,6 +261,86 @@
</a-form-item>
</a-col>
</div>
<div class="item-box vgm-info">
<a-col :span="8">
<a-form-item
label="场站"
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
{{ details.yard || '--' }}
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item
label="联系人"
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
{{ details.yardcontract || '--' }}
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item
label="电话"
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
{{ details.yardcontracttel || '--' }}
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item
label="截港时间"
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
{{ details.closingdate || '--' }}
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item
label="截单时间"
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
{{ details.closedocdate || '--' }}
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item
label="截VGM时间"
:labelCol="{ xs: { span: 24 }, sm: { span: 8 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
{{ details.closevgmdate || '--' }}
</a-form-item>
</a-col>
</div>
<div class="item-box vgm-remarks" style="padding-top:0px;padding-bottom:0px;">
<a-col :span="24">
<a-form-item
label="备注"
:labelCol="{ xs: { span: 24 }, sm: { span: 3 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<div class="box-flex">
<a-input
style="width:1000px !important; text-align: left;"
:allowClear="true"
v-model="initCabinFrom.remark"
/>
</div>
</a-form-item>
</a-col>
</div>
</template>
<template v-if="modelType === 'vgmlink'">
<div class="item-box" style="padding-top:0px;padding-bottom:0px;">
@ -859,6 +939,12 @@ export default {
},
openModel(type) {
// debugger
if (['initCabin', 'ladingBill', 'vgmlink'].includes(type)) {
if (!this.$route.query.id) {
this.$message.error('请保存主单后,进行操作')
return false
}
}
if (['bookingSpace', 'cutOff', 'initCabin', 'ladingBill', 'vgmlink'].includes(type)) {
// /
this.modelType = type
@ -1223,16 +1309,18 @@ export default {
//
saveBookingLetteryard() {
if (!this.id) {
// if (!this.id) {
this.initCabinFrom = {
...this.initCabinFrom,
...{
closeDocTime: this.details.closedocdate,
closingTime: this.details.closingdate,
vgmTime: this.details.closevgmdate
vgmTime: this.details.closevgmdate,
yardcontract: this.details.yardcontract,
yardcontracttel: this.details.yardcontracttel
}
}
}
// }
SaveBookingLetteryard(this.initCabinFrom)
.then(res => {
if (res.success) {
@ -1356,7 +1444,7 @@ export default {
fileType = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
}
this.pdfUrl = window.URL.createObjectURL(new Blob([res], { type: `${fileType};charset=utf-8` }))
const fname = '放舱打印' //
const fname = `入货通知--${this.details.mblno}` //
const link = document.createElement('a')
link.href = this.pdfUrl
link.setAttribute('download', fname)

@ -137,7 +137,7 @@
<span :class="{'active': btn.isChecked}">{{ enmuBookingBtn(btn.staCode) }}</span>
</a-popover>
<span :class="{'active': btn.isChecked}" v-else>{{ enmuBookingBtn(btn.staCode) }}</span>
<i class="iconfont icon-daoda" :class="{'hide': bindex===row.bookstatus.length-1}"></i>
<i class="iconfont icon-xiaoyoujiantou" :class="{'hide': bindex===row.bookstatus.length-1}"></i>
</div>
</div>
</template>

Loading…
Cancel
Save