|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="more-edi" :style="{ paddingTop: '20px', paddingBottom: '10px' }">
|
|
|
|
|
<a-form ref="ediFrom" :model="details" :rules="rules" v-if="details">
|
|
|
|
|
<a-form ref="RefediFrom" :model="props.details" :rules="rules" v-if="props.details">
|
|
|
|
|
<div class="normal">
|
|
|
|
|
<a-row :gutter="16">
|
|
|
|
|
<a-col :span="8">
|
|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="customNo"
|
|
|
|
|
:parentVal="details.customNo"
|
|
|
|
|
:parentVal="props.details.customNo"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -30,8 +30,8 @@
|
|
|
|
|
<div class="date-box">
|
|
|
|
|
<datePickerView
|
|
|
|
|
class="date-picker"
|
|
|
|
|
:disabled="details['customDate'] && isLockBooking"
|
|
|
|
|
:parentVal="details.customDate"
|
|
|
|
|
:disabled="props.details['customDate'] && isLockBooking"
|
|
|
|
|
:parentVal="props.details.customDate"
|
|
|
|
|
type="customDate"
|
|
|
|
|
format="YYYY-MM-DD"
|
|
|
|
|
@dateChange="dateChangeFun"
|
|
|
|
@ -50,7 +50,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="inspectionNo"
|
|
|
|
|
:parentVal="details.inspectionNo"
|
|
|
|
|
:parentVal="props.details.inspectionNo"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -67,8 +67,8 @@
|
|
|
|
|
<div class="date-box">
|
|
|
|
|
<datePickerView
|
|
|
|
|
class="date-picker"
|
|
|
|
|
:disabled="details['inspectionDate'] && isLockBooking"
|
|
|
|
|
:parentVal="details.inspectionDate"
|
|
|
|
|
:disabled="props.details['inspectionDate'] && isLockBooking"
|
|
|
|
|
:parentVal="props.details.inspectionDate"
|
|
|
|
|
type="inspectionDate"
|
|
|
|
|
format="YYYY-MM-DD"
|
|
|
|
|
@dateChange="dateChangeFun"
|
|
|
|
@ -87,7 +87,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="ediRemark"
|
|
|
|
|
:parentVal="details.ediRemark"
|
|
|
|
|
:parentVal="props.details.ediRemark"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -102,7 +102,7 @@
|
|
|
|
|
>
|
|
|
|
|
<selectView
|
|
|
|
|
type="enterprise"
|
|
|
|
|
:defaultVal="details.enterprise"
|
|
|
|
|
:defaultVal="props.details.enterprise"
|
|
|
|
|
searchApi="enterprise"
|
|
|
|
|
:searchQuery="{ NAME: '' }"
|
|
|
|
|
:showLabel="['NAME']"
|
|
|
|
@ -121,7 +121,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="enterpriseId"
|
|
|
|
|
:parentVal="details.enterpriseId"
|
|
|
|
|
:parentVal="props.details.enterpriseId"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -136,7 +136,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="customsNum"
|
|
|
|
|
:parentVal="details.customsNum"
|
|
|
|
|
:parentVal="props.details.customsNum"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -151,7 +151,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="preRecord"
|
|
|
|
|
:parentVal="details.preRecord"
|
|
|
|
|
:parentVal="props.details.preRecord"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -164,7 +164,7 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="isMoreGood"
|
|
|
|
|
>
|
|
|
|
|
<a-radio v-model:checked="details.isMoreGood"></a-radio>
|
|
|
|
|
<a-radio v-model:checked="props.details.isMoreGood"></a-radio>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
@ -175,7 +175,7 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="isContainerSoc"
|
|
|
|
|
>
|
|
|
|
|
<a-radio v-model:checked="details.isContainerSoc"></a-radio>
|
|
|
|
|
<a-radio v-model:checked="props.details.isContainerSoc"></a-radio>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
@ -188,7 +188,7 @@
|
|
|
|
|
>
|
|
|
|
|
<selectView
|
|
|
|
|
type="termDelivery"
|
|
|
|
|
:defaultVal="details.termDelivery"
|
|
|
|
|
:defaultVal="props.details.termDelivery"
|
|
|
|
|
searchApi="termDelivery"
|
|
|
|
|
:searchQuery="{ NAME: '' }"
|
|
|
|
|
:showLabel="['NAME']"
|
|
|
|
@ -207,7 +207,7 @@
|
|
|
|
|
>
|
|
|
|
|
<selectView
|
|
|
|
|
type="insperctService"
|
|
|
|
|
:defaultVal="details.insperctService"
|
|
|
|
|
:defaultVal="props.details.insperctService"
|
|
|
|
|
searchApi="insperctService"
|
|
|
|
|
:searchQuery="{ NAME: '' }"
|
|
|
|
|
:showLabel="['NAME']"
|
|
|
|
@ -226,7 +226,7 @@
|
|
|
|
|
>
|
|
|
|
|
<selectView
|
|
|
|
|
type="vessel2N"
|
|
|
|
|
:defaultVal="details.vessel2N"
|
|
|
|
|
:defaultVal="props.details.vessel2N"
|
|
|
|
|
searchApi="vessel2N"
|
|
|
|
|
:searchQuery="{ NAME: '' }"
|
|
|
|
|
:showLabel="['NAME']"
|
|
|
|
@ -245,7 +245,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="voyno2N"
|
|
|
|
|
:parentVal="details.voyno2N"
|
|
|
|
|
:parentVal="props.details.voyno2N"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -261,7 +261,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="sendCode"
|
|
|
|
|
:parentVal="details.sendCode"
|
|
|
|
|
:parentVal="props.details.sendCode"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -274,10 +274,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="receiveCode"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.receiveCode" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.receiveCode" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="receiveCode"
|
|
|
|
|
:parentVal="details.receiveCode"
|
|
|
|
|
:parentVal="props.details.receiveCode"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -290,10 +290,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="ediAttn"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.ediAttn" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.ediAttn" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="ediAttn"
|
|
|
|
|
:parentVal="details.ediAttn"
|
|
|
|
|
:parentVal="props.details.ediAttn"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -306,10 +306,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="ediAttnTel"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.ediAttnTel" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.ediAttnTel" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="ediAttnTel"
|
|
|
|
|
:parentVal="details.ediAttnTel"
|
|
|
|
|
:parentVal="props.details.ediAttnTel"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -322,10 +322,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="ediAttnMail"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.ediAttnMail" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.ediAttnMail" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="ediAttnMail"
|
|
|
|
|
:parentVal="details.ediAttnMail"
|
|
|
|
|
:parentVal="props.details.ediAttnMail"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -338,10 +338,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="amsConsignee"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.amsConsignee" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.amsConsignee" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="amsConsignee"
|
|
|
|
|
:parentVal="details.amsConsignee"
|
|
|
|
|
:parentVal="props.details.amsConsignee"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -354,10 +354,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="amsNotifyParty"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.amsNotifyParty" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.amsNotifyParty" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="amsNotifyParty"
|
|
|
|
|
:parentVal="details.amsNotifyParty"
|
|
|
|
|
:parentVal="props.details.amsNotifyParty"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -370,10 +370,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="opEName"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.opEName" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.opEName" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="opEName"
|
|
|
|
|
:parentVal="details.opEName"
|
|
|
|
|
:parentVal="props.details.opEName"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -386,8 +386,12 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="opTel"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.opTel" /> -->
|
|
|
|
|
<inputView type="opTel" :parentVal="details.opTel" @getInputChange="inputChange" />
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.opTel" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="opTel"
|
|
|
|
|
:parentVal="props.details.opTel"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="8">
|
|
|
|
@ -398,10 +402,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="opEmail"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.opEmail" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.opEmail" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="opEmail"
|
|
|
|
|
:parentVal="details.opEmail"
|
|
|
|
|
:parentVal="props.details.opEmail"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -414,10 +418,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="goodsName"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.goodsName" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.goodsName" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="goodsName"
|
|
|
|
|
:parentVal="details.goodsName"
|
|
|
|
|
:parentVal="props.details.goodsName"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -449,10 +453,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="scaccode"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.scaccode" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.scaccode" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="scaccode"
|
|
|
|
|
:parentVal="details.scaccode"
|
|
|
|
|
:parentVal="props.details.scaccode"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -465,10 +469,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="itncode"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.itncode" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.itncode" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="itncode"
|
|
|
|
|
:parentVal="details.itncode"
|
|
|
|
|
:parentVal="props.details.itncode"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -481,11 +485,11 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="orderRemark"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input v-model="details.orderRemark" /> -->
|
|
|
|
|
<!-- <a-input v-model="props.details.orderRemark" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="orderRemark"
|
|
|
|
|
:placeholder="'订舱人说明或ESL BP CODE'"
|
|
|
|
|
:parentVal="details.orderRemark"
|
|
|
|
|
:parentVal="props.details.orderRemark"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -498,10 +502,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="freightpayer"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.freightpayer" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.freightpayer" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="freightpayer"
|
|
|
|
|
:parentVal="details.freightpayer"
|
|
|
|
|
:parentVal="props.details.freightpayer"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -516,7 +520,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="kingTareweight"
|
|
|
|
|
:parentVal="details.kingTareweight"
|
|
|
|
|
:parentVal="props.details.kingTareweight"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -529,10 +533,14 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="xmcywy"
|
|
|
|
|
>
|
|
|
|
|
<inputView type="xmcywy" :parentVal="details.xmcywy" @getInputChange="inputChange" />
|
|
|
|
|
<inputView
|
|
|
|
|
type="xmcywy"
|
|
|
|
|
:parentVal="props.details.xmcywy"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col v-if="details.carrierid == 'EMC'" :span="8">
|
|
|
|
|
<a-col v-if="props.details.carrierid == 'EMC'" :span="8">
|
|
|
|
|
<a-form-item
|
|
|
|
|
label="Name accout"
|
|
|
|
|
:labelCol="{ xs: { span: 24 }, sm: { span: 9 } }"
|
|
|
|
@ -542,7 +550,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="emcNameAccount"
|
|
|
|
|
:parentVal="details.emcNameAccount"
|
|
|
|
|
:parentVal="props.details.emcNameAccount"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -558,7 +566,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="details.weiTuoFang"
|
|
|
|
|
v-model="props.details.weiTuoFang"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -584,7 +592,7 @@
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="details.exRemark1"
|
|
|
|
|
v-model="props.details.exRemark1"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -600,7 +608,7 @@
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="details.exRemark2"
|
|
|
|
|
v-model="props.details.exRemark2"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -618,7 +626,7 @@
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="details.exRemark3"
|
|
|
|
|
v-model="props.details.exRemark3"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -634,7 +642,7 @@
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="details.exRemark4"
|
|
|
|
|
v-model="props.details.exRemark4"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -643,7 +651,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- === 太平添加 start === -->
|
|
|
|
|
<template v-if="details.carrierid == 'PIL'">
|
|
|
|
|
<template v-if="props.details.carrierid == 'PIL'">
|
|
|
|
|
<div class="taiping">
|
|
|
|
|
<a-row :gutter="16">
|
|
|
|
|
<a-col :span="12">
|
|
|
|
@ -654,10 +662,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="consigneeEdiCode"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.consigneeEdiCode" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.consigneeEdiCode" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="consigneeEdiCode"
|
|
|
|
|
:parentVal="details.consigneeEdiCode"
|
|
|
|
|
:parentVal="props.details.consigneeEdiCode"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -670,10 +678,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="shipperEdiCode"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.shipperEdiCode" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.shipperEdiCode" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="shipperEdiCode"
|
|
|
|
|
:parentVal="details.shipperEdiCode"
|
|
|
|
|
:parentVal="props.details.shipperEdiCode"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -686,10 +694,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="notifyCdoe"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.notifyCdoe" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.notifyCdoe" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="notifyCdoe"
|
|
|
|
|
:parentVal="details.notifyCdoe"
|
|
|
|
|
:parentVal="props.details.notifyCdoe"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -704,14 +712,14 @@
|
|
|
|
|
>
|
|
|
|
|
<selectView
|
|
|
|
|
type="salerCode"
|
|
|
|
|
:defaultVal="details.salerCode"
|
|
|
|
|
:defaultVal="props.details.salerCode"
|
|
|
|
|
searchApi="salerCode"
|
|
|
|
|
:searchQuery="{ NAME: '' }"
|
|
|
|
|
:showLabel="['NAME']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
<!-- <a-select size="small" default-value="CN087 | GRACE SUN" v-model="details.salerCode" @change="handleSaleChange">
|
|
|
|
|
<!-- <a-select size="small" default-value="CN087 | GRACE SUN" v-model="props.details.salerCode" @change="handleSaleChange">
|
|
|
|
|
<a-select-option v-for="(sales, sindex) in StoreSalesRepCode" :value="sales.NAME" :key="sindex">
|
|
|
|
|
{{ sales.NAME }}
|
|
|
|
|
</a-select-option>
|
|
|
|
@ -726,10 +734,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="emanifestHbl"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.emanifestHbl" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.emanifestHbl" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="emanifestHbl"
|
|
|
|
|
:parentVal="details.emanifestHbl"
|
|
|
|
|
:parentVal="props.details.emanifestHbl"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -744,14 +752,14 @@
|
|
|
|
|
>
|
|
|
|
|
<selectView
|
|
|
|
|
type="masterBolIndicator"
|
|
|
|
|
:defaultVal="details.masterBolIndicatorName"
|
|
|
|
|
:defaultVal="props.details.masterBolIndicatorName"
|
|
|
|
|
searchApi="StoreMasterBOLIndicator"
|
|
|
|
|
:searchQuery="{ NAME: '' }"
|
|
|
|
|
:showLabel="['NAME']"
|
|
|
|
|
:openSearch="false"
|
|
|
|
|
@change="getSelectViewRes"
|
|
|
|
|
></selectView>
|
|
|
|
|
<!-- <a-select size="small" v-model="details.masterBolIndicator" @change="handleMasterBolChange" optionLabelProp="label">
|
|
|
|
|
<!-- <a-select size="small" v-model="props.details.masterBolIndicator" @change="handleMasterBolChange" optionLabelProp="label">
|
|
|
|
|
<a-select-option v-for="(master, mindex) in StoreMasterBOLIndicator" :value="mindex" :key="mindex">
|
|
|
|
|
{{ master.NAME }}
|
|
|
|
|
</a-select-option>
|
|
|
|
@ -770,7 +778,7 @@
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
:allowClear="true"
|
|
|
|
|
v-model="details.s0CC0C"
|
|
|
|
|
v-model="props.details.s0CC0C"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -786,7 +794,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="details.ckhi"
|
|
|
|
|
v-model="props.details.ckhi"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -805,7 +813,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="details.cncm"
|
|
|
|
|
v-model="props.details.cncm"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -820,7 +828,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a-textarea
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="details.wncm"
|
|
|
|
|
v-model="props.details.wncm"
|
|
|
|
|
:auto-size="{ minRows: 2, maxRows: 5 }"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -833,10 +841,10 @@
|
|
|
|
|
has-feedback
|
|
|
|
|
name="acihbl"
|
|
|
|
|
>
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="details.acihbl" /> -->
|
|
|
|
|
<!-- <a-input :allowClear="true" v-model="props.details.acihbl" /> -->
|
|
|
|
|
<inputView
|
|
|
|
|
type="acihbl"
|
|
|
|
|
:parentVal="details.acihbl"
|
|
|
|
|
:parentVal="props.details.acihbl"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -851,7 +859,7 @@
|
|
|
|
|
>
|
|
|
|
|
<inputView
|
|
|
|
|
type="CNPTNo"
|
|
|
|
|
:parentVal="details.cnptNo"
|
|
|
|
|
:parentVal="props.details.cnptNo"
|
|
|
|
|
@getInputChange="inputChange"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
@ -867,7 +875,12 @@
|
|
|
|
|
import inputView from '../components/inputView.vue'
|
|
|
|
|
import selectView from '../components/selectView.vue'
|
|
|
|
|
import datePickerView from '../components/datePickerView.vue'
|
|
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
const route = useRoute()
|
|
|
|
|
import { ref, reactive, getCurrentInstance, h, watch, onMounted } from 'vue'
|
|
|
|
|
let timer
|
|
|
|
|
let { ctx: that, proxy }: any = getCurrentInstance()
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
details: {
|
|
|
|
|
type: Object,
|
|
|
|
@ -886,6 +899,24 @@
|
|
|
|
|
default: '',
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
const PropsDetails = ref(props.details)
|
|
|
|
|
const emit = defineEmits(['changeDetail'])
|
|
|
|
|
const RefediFrom = ref()
|
|
|
|
|
watch(
|
|
|
|
|
() => PropsDetails,
|
|
|
|
|
(nval) => {
|
|
|
|
|
if (!props.inSave) {
|
|
|
|
|
emit('changeDetail', {
|
|
|
|
|
detail: nval,
|
|
|
|
|
type: 'ediMore',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
deep: true,
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
function inputChange({ type, value }) {
|
|
|
|
|
const bookingEDIExtArr = [
|
|
|
|
|
'sendCode',
|
|
|
|
@ -915,8 +946,20 @@
|
|
|
|
|
} else {
|
|
|
|
|
props.details[type] = value
|
|
|
|
|
}
|
|
|
|
|
this.$forceUpdate()
|
|
|
|
|
that.$forceUpdate()
|
|
|
|
|
}
|
|
|
|
|
function getSelectViewRes({ type, res }) {
|
|
|
|
|
if (type === 'masterBolIndicator') {
|
|
|
|
|
props.details.masterBolIndicator = res.ID || ''
|
|
|
|
|
props.details.masterBolIndicatorName = res.NAME || ''
|
|
|
|
|
} else if (type === 'salerCode') {
|
|
|
|
|
props.details.salerCode = res.ID
|
|
|
|
|
props.details.salerCodeName = res.NAME
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
defineExpose({
|
|
|
|
|
RefediFrom,
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
/deep/ .ant-form-explain {
|
|
|
|
|