|
|
@@ -47,6 +47,13 @@
|
|
|
:remote="true" dataName="cnName" :slotRight="true" rightLabel="code">
|
|
|
</dic-select>
|
|
|
</tempalte>
|
|
|
+ <tempalte slot="containerNumber">
|
|
|
+ <dic-select v-model="form.containerNumber" placeholder="放箱号" :key="containerNumberKey"
|
|
|
+ label="internalContainerNumber" :disabled="editDisabled || form.whetherEnable == '是'"
|
|
|
+ :url="'/blade-los/putbox/selectContainerNumber?boxType=' + (form.boxTypeQuantityOne ? form.boxTypeQuantityOne : '') + '&polId=' + (form.polId ? form.polId : '') + '&podId=' + (form.podId ? form.podId : '') + '&polStationId=' + (form.polStationId ? form.polStationId : '')"
|
|
|
+ :filterable="true">
|
|
|
+ </dic-select>
|
|
|
+ </tempalte>
|
|
|
<!-- <tempalte slot="polStationCname">
|
|
|
<dic-select v-model="form.polStationCname" placeholder="起运港提/送箱场站" key="id" label="cnName" res="records"
|
|
|
url="/blade-los/bcorps/selectList?corpTypeName=场站&status=0" :filterable="true" :remote="true" dataName="cnName"
|
|
|
@@ -92,7 +99,8 @@
|
|
|
<template slot="boxTypeQuantityOne">
|
|
|
<dic-select v-model="form.boxTypeQuantityOne" key="id" label="cnName" res="records"
|
|
|
url="/blade-los/bcntrtypes/list?status=0¤t=1&size=20" :filterable="true" :remote="true"
|
|
|
- dataName="cnName" :disabled="editDisabled || form.whetherEnable == '是'"></dic-select>
|
|
|
+ dataName="cnName" @selectChange="dicChange('boxTypeQuantityOne', $event)"
|
|
|
+ :disabled="editDisabled || form.whetherEnable == '是'"></dic-select>
|
|
|
</template>
|
|
|
<template slot="perDiemAfterFreeDays">
|
|
|
<el-button type="primary" size="small" @click.stop="openRtDialog"
|
|
|
@@ -2039,6 +2047,7 @@ export default {
|
|
|
updateSearchKey: new Date().getTime(),
|
|
|
updateFormKey: new Date().getTime(),
|
|
|
updateStationKey: new Date().getTime(),
|
|
|
+ containerNumberKey: new Date().getTime(),
|
|
|
deptId: JSON.parse(localStorage.getItem('sysitemData')).deptId
|
|
|
}
|
|
|
},
|
|
|
@@ -2238,6 +2247,9 @@ export default {
|
|
|
this.form.purchaseCompanyName = null
|
|
|
}
|
|
|
}
|
|
|
+ if (name == 'boxTypeQuantityOne') {
|
|
|
+ this.containerNumberKey = new Date().getTime()
|
|
|
+ }
|
|
|
if (name == 'polStationCname') {
|
|
|
if (row) {
|
|
|
this.form.polStationId = row.id
|
|
|
@@ -2249,6 +2261,7 @@ export default {
|
|
|
this.form.polStationEname = null
|
|
|
this.form.polStationCname = null
|
|
|
}
|
|
|
+ this.containerNumberKey = new Date().getTime()
|
|
|
}
|
|
|
if (name == 'polCyCname') {
|
|
|
if (row) {
|
|
|
@@ -2284,7 +2297,6 @@ export default {
|
|
|
this.form.polStationCode = null
|
|
|
this.form.polStationCname = null
|
|
|
this.form.polStationEname = null
|
|
|
- this.updateFormKey = new Date().getTime()
|
|
|
} else {
|
|
|
this.form.polId = null
|
|
|
this.form.polCode = null
|
|
|
@@ -2296,6 +2308,8 @@ export default {
|
|
|
this.form.polStationCname = null
|
|
|
this.form.polStationEname = null
|
|
|
}
|
|
|
+ this.updateFormKey = new Date().getTime()
|
|
|
+ this.containerNumberKey = new Date().getTime()
|
|
|
}
|
|
|
if (name == 'podCname') {
|
|
|
if (row) {
|
|
|
@@ -2305,6 +2319,7 @@ export default {
|
|
|
this.form.podId = null
|
|
|
this.form.podCname = null
|
|
|
}
|
|
|
+ this.containerNumberKey = new Date().getTime()
|
|
|
}
|
|
|
if (name == 'polCname2') {
|
|
|
if (row) {
|
|
|
@@ -2316,7 +2331,6 @@ export default {
|
|
|
this.activationForm.polStationCode = null
|
|
|
this.activationForm.polStationCname = null
|
|
|
this.activationForm.polStationEname = null
|
|
|
- this.updateStationKey = new Date().getTime()
|
|
|
} else {
|
|
|
this.activationForm.polId = null
|
|
|
this.activationForm.polCode = null
|
|
|
@@ -2328,6 +2342,7 @@ export default {
|
|
|
this.activationForm.polStationCname = null
|
|
|
this.activationForm.polStationEname = null
|
|
|
}
|
|
|
+ this.updateStationKey = new Date().getTime()
|
|
|
}
|
|
|
if (name == 'polStationCname2') {
|
|
|
if (row) {
|
|
|
@@ -2354,7 +2369,7 @@ export default {
|
|
|
this.activationForm.podCname = null
|
|
|
}
|
|
|
}
|
|
|
- if (name == 'podStationCname3') {
|
|
|
+ if (name == 'podStationCname3') {
|
|
|
if (row) {
|
|
|
this.podForm.podStationId = row.id
|
|
|
this.podForm.podStationCode = row.code
|