|
@@ -323,13 +323,13 @@
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="船名" span="1" prop="shipName" v-if="deptBudgetList.outType == '散船'">
|
|
<ws-form-item label="船名" span="1" prop="shipName" v-if="deptBudgetList.outType == '散船'">
|
|
<el-select filterable clearable v-model="deptBudgetList.shipName"
|
|
<el-select filterable clearable v-model="deptBudgetList.shipName"
|
|
- placeholder="请选择船名" class="typeselect" @change="shipInfoChange($event, 1)">
|
|
|
|
- <el-option v-for="item in shipInfoList" :key="item.constKey" :label="item.carNo"
|
|
|
|
- :value="item.carNo" />
|
|
|
|
|
|
+ placeholder="请选择船名" class="typeselect" @change="shipInfoChange($event)">
|
|
|
|
+ <el-option v-for="item in shipInfoList" :key="item.constKey" :label="item.shipName"
|
|
|
|
+ :value="item.shipName" />
|
|
</el-select>
|
|
</el-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="航次" span="1" prop="shipNumber" v-if="deptBudgetList.outType == '散船'">
|
|
<ws-form-item label="航次" span="1" prop="shipNumber" v-if="deptBudgetList.outType == '散船'">
|
|
- <ws-input v-model="deptBudgetList.shipNumber" placeholder="请输入航次" maxlength="20" size="small" />
|
|
|
|
|
|
+ <ws-input disabled v-model="deptBudgetList.shipNumber" placeholder="请输入航次" maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="箱号-1" span="1" prop="boxNo"
|
|
<ws-form-item label="箱号-1" span="1" prop="boxNo"
|
|
v-if="deptBudgetList.outType == '汽运' || deptBudgetList.outType == '集装箱船'">
|
|
v-if="deptBudgetList.outType == '汽运' || deptBudgetList.outType == '集装箱船'">
|
|
@@ -770,6 +770,13 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ shipInfoChange(e){
|
|
|
|
+ for (let i = 0; i < this.shipInfoList.length; i++) {
|
|
|
|
+ if(this.shipInfoList[i].shipName==this.weighingList.shipName){
|
|
|
|
+ this.weighingList.shipNumber=this.shipInfoList[i].shipNo
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
fleetNameChange(e){
|
|
fleetNameChange(e){
|
|
console.log(e,this.fleetNameList)
|
|
console.log(e,this.fleetNameList)
|
|
if(e=='非车队'){
|
|
if(e=='非车队'){
|