|
|
@ -11,7 +11,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.sendCode"
|
|
|
|
prop="bookingEDIExt.sendCode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.sendCode" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.sendCode" /> -->
|
|
|
|
|
|
|
|
<inputView type="sendCode" :parentVal="details.sendCode" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -22,20 +23,10 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.receiveCode"
|
|
|
|
prop="bookingEDIExt.receiveCode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.receiveCode" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.receiveCode" /> -->
|
|
|
|
|
|
|
|
<inputView type="receiveCode" :parentVal="details.bookingEDIExt.receiveCode" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<!-- <a-col :span="8">
|
|
|
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
|
|
|
label="销售EDI代码"
|
|
|
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 9 } }"
|
|
|
|
|
|
|
|
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
|
|
|
|
|
|
|
|
has-feedback
|
|
|
|
|
|
|
|
prop="bookingEDIExt.salerCode"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.salerCode" />
|
|
|
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
|
|
|
</a-col> -->
|
|
|
|
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-form-model-item
|
|
|
|
<a-form-model-item
|
|
|
|
label="EDI联系人名称"
|
|
|
|
label="EDI联系人名称"
|
|
|
@ -44,7 +35,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.ediAttn"
|
|
|
|
prop="bookingEDIExt.ediAttn"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttn" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttn" /> -->
|
|
|
|
|
|
|
|
<inputView type="ediAttn" :parentVal="details.bookingEDIExt.ediAttn" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -55,7 +47,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.ediAttnTel"
|
|
|
|
prop="bookingEDIExt.ediAttnTel"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttnTel" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttnTel" /> -->
|
|
|
|
|
|
|
|
<inputView type="ediAttnTel" :parentVal="details.bookingEDIExt.ediAttnTel" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -66,7 +59,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.ediAttnMail"
|
|
|
|
prop="bookingEDIExt.ediAttnMail"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttnMail" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.ediAttnMail" /> -->
|
|
|
|
|
|
|
|
<inputView type="ediAttnMail" :parentVal="details.bookingEDIExt.ediAttnMail" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -77,7 +71,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.amsConsignee"
|
|
|
|
prop="bookingEDIExt.amsConsignee"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.amsConsignee" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.amsConsignee" /> -->
|
|
|
|
|
|
|
|
<inputView type="amsConsignee" :parentVal="details.bookingEDIExt.amsConsignee" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -88,7 +83,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.amsNotifyParty"
|
|
|
|
prop="bookingEDIExt.amsNotifyParty"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.amsNotifyParty" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.amsNotifyParty" /> -->
|
|
|
|
|
|
|
|
<inputView type="amsNotifyParty" :parentVal="details.bookingEDIExt.amsNotifyParty" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -99,7 +95,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.opEName"
|
|
|
|
prop="bookingEDIExt.opEName"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.opEName" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.opEName" /> -->
|
|
|
|
|
|
|
|
<inputView type="opEName" :parentVal="details.bookingEDIExt.opEName" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -110,7 +107,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.opTel"
|
|
|
|
prop="bookingEDIExt.opTel"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.opTel" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.opTel" /> -->
|
|
|
|
|
|
|
|
<inputView type="opTel" :parentVal="details.bookingEDIExt.opTel" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -121,7 +119,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.opEmail"
|
|
|
|
prop="bookingEDIExt.opEmail"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.opEmail" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.opEmail" /> -->
|
|
|
|
|
|
|
|
<inputView type="opEmail" :parentVal="details.bookingEDIExt.opEmail" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -132,7 +131,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.goodsName"
|
|
|
|
prop="bookingEDIExt.goodsName"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.goodsName" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.goodsName" /> -->
|
|
|
|
|
|
|
|
<inputView type="goodsName" :parentVal="details.bookingEDIExt.goodsName" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -157,7 +157,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="scaccode"
|
|
|
|
prop="scaccode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.scaccode" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.scaccode" /> -->
|
|
|
|
|
|
|
|
<inputView type="scaccode" :parentVal="details.scaccode" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -168,7 +169,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="itncode"
|
|
|
|
prop="itncode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.itncode" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.itncode" /> -->
|
|
|
|
|
|
|
|
<inputView type="itncode" :parentVal="details.itncode" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="8">
|
|
|
|
<a-col :span="8">
|
|
|
@ -179,7 +181,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.orderRemark"
|
|
|
|
prop="bookingEDIExt.orderRemark"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input v-model="details.bookingEDIExt.orderRemark" />
|
|
|
|
<!-- <a-input v-model="details.bookingEDIExt.orderRemark" /> -->
|
|
|
|
|
|
|
|
<inputView type="orderRemark" :parentVal="details.bookingEDIExt.orderRemark" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="23">
|
|
|
|
<a-col :span="23">
|
|
|
@ -190,7 +193,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="freightpayer"
|
|
|
|
prop="freightpayer"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.freightpayer" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.freightpayer" /> -->
|
|
|
|
|
|
|
|
<inputView type="freightpayer" :parentVal="details.bookingEDIExt.freightpayer" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="23">
|
|
|
|
<a-col :span="23">
|
|
|
@ -273,7 +277,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.consigneeEdiCode"
|
|
|
|
prop="bookingEDIExt.consigneeEdiCode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.consigneeEdiCode" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.consigneeEdiCode" /> -->
|
|
|
|
|
|
|
|
<inputView type="consigneeEdiCode" :parentVal="details.bookingEDIExt.consigneeEdiCode" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-col :span="12">
|
|
|
@ -284,7 +289,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.shipperEdiCode"
|
|
|
|
prop="bookingEDIExt.shipperEdiCode"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.shipperEdiCode" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.shipperEdiCode" /> -->
|
|
|
|
|
|
|
|
<inputView type="shipperEdiCode" :parentVal="details.bookingEDIExt.shipperEdiCode" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-col :span="12">
|
|
|
@ -295,7 +301,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.notifyCdoe"
|
|
|
|
prop="bookingEDIExt.notifyCdoe"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.notifyCdoe" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.notifyCdoe" /> -->
|
|
|
|
|
|
|
|
<inputView type="notifyCdoe" :parentVal="details.bookingEDIExt.notifyCdoe" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-col :span="12">
|
|
|
@ -321,7 +328,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.emanifestHbl"
|
|
|
|
prop="bookingEDIExt.emanifestHbl"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.emanifestHbl" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.emanifestHbl" /> -->
|
|
|
|
|
|
|
|
<inputView type="emanifestHbl" :parentVal="details.bookingEDIExt.emanifestHbl" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
|
|
|
<a-col :span="12">
|
|
|
@ -395,7 +403,8 @@
|
|
|
|
has-feedback
|
|
|
|
has-feedback
|
|
|
|
prop="bookingEDIExt.acihbl"
|
|
|
|
prop="bookingEDIExt.acihbl"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-input :allowClear="true" v-model="details.bookingEDIExt.acihbl" />
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.bookingEDIExt.acihbl" /> -->
|
|
|
|
|
|
|
|
<inputView type="acihbl" :parentVal="details.bookingEDIExt.acihbl" @getInputChange="inputChange"/>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-form-model-item>
|
|
|
|
</a-col>
|
|
|
|
</a-col>
|
|
|
|
</a-row>
|
|
|
|
</a-row>
|
|
|
@ -406,7 +415,12 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import inputView from '../modules/inputView'
|
|
|
|
|
|
|
|
let timer;
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
|
|
|
|
components: {
|
|
|
|
|
|
|
|
inputView
|
|
|
|
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
props: {
|
|
|
|
details: {
|
|
|
|
details: {
|
|
|
|
type: Object,
|
|
|
|
type: Object,
|
|
|
@ -474,6 +488,12 @@ export default {
|
|
|
|
this.iscontainersoc = this.details.iscontainersoc ? '1' : '0'
|
|
|
|
this.iscontainersoc = this.details.iscontainersoc ? '1' : '0'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
debounce (func, wait, ...args) {
|
|
|
|
|
|
|
|
if (timer) clearTimeout(timer);
|
|
|
|
|
|
|
|
timer = setTimeout(() => {
|
|
|
|
|
|
|
|
func.apply(this, args);
|
|
|
|
|
|
|
|
}, wait);
|
|
|
|
|
|
|
|
},
|
|
|
|
checkbasic () {
|
|
|
|
checkbasic () {
|
|
|
|
this.$refs.ediFrom.validate(valid => {
|
|
|
|
this.$refs.ediFrom.validate(valid => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
@ -490,6 +510,17 @@ export default {
|
|
|
|
handleSaleChange (val) {
|
|
|
|
handleSaleChange (val) {
|
|
|
|
this.details.bookingEDIExt.salerCode = val.split('|')[0]
|
|
|
|
this.details.bookingEDIExt.salerCode = val.split('|')[0]
|
|
|
|
this.details.bookingEDIExt.salerCodeName = val.split('|')[1]
|
|
|
|
this.details.bookingEDIExt.salerCodeName = val.split('|')[1]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
inputChange ({ type, value }) {
|
|
|
|
|
|
|
|
const bookingEDIExtArr = ['receiveCode', 'ediAttn', 'ediAttnTel', 'ediAttnMail', 'amsConsignee', 'amsNotifyParty', 'opEName', 'opTel', 'opEmail', 'goodsName', 'orderRemark', 'freightpayer', 'consigneeEdiCode', 'shipperEdiCode', 'notifyCdoe', 'emanifestHbl', 'acihbl']
|
|
|
|
|
|
|
|
if (bookingEDIExtArr.includes(type)) {
|
|
|
|
|
|
|
|
this.details.bookingEDIExt[type] = value
|
|
|
|
|
|
|
|
console.log(this.details.bookingEDIExt[type])
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.details[type] = value
|
|
|
|
|
|
|
|
console.log(this.details[type])
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.$forceUpdate()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|