|
@@ -59,7 +59,7 @@
|
|
|
<div class="mainModules">
|
|
|
<!-- <span>预计装货时间</span>-->
|
|
|
<!-- <el-input style="width:80%;margin-left:20px;top: 4px" v-model="form.fBsdate"/>-->
|
|
|
- <el-form-item label="起运港口" prop="fBsdate">
|
|
|
+ <el-form-item label="预计装货时间" prop="fBsdate">
|
|
|
<el-date-picker
|
|
|
v-model="form.fBsdate"
|
|
|
style="width:80%;"
|
|
@@ -127,12 +127,30 @@
|
|
|
</div>
|
|
|
<div class="mainModules">
|
|
|
<el-form-item label="箱内签收单" prop="fSign">
|
|
|
- <el-input style="width:80%;" v-model="form.fSign"/>
|
|
|
+<!-- <el-input style="width:80%;" v-model="form.fSign"/>-->
|
|
|
+ <el-select style="width:80%;" placeholder="请选择"
|
|
|
+ v-model="form.fSign">
|
|
|
+ <el-option
|
|
|
+ v-for="(dict, index) in cEsign"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div class="mainModules">
|
|
|
<el-form-item label="订舱人扣货" prop="fDetentioncargo">
|
|
|
- <el-input style="width:80%;" v-model="form.fDetentioncargo"/>
|
|
|
+<!-- <el-input style="width:80%;" v-model="form.fDetentioncargo"/>-->
|
|
|
+ <el-select style="width:80%;" placeholder="请选择"
|
|
|
+ v-model="form.fDetentioncargo">
|
|
|
+ <el-option
|
|
|
+ v-for="(dict, index) in etentioncargo"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div style="width: 70%;">
|
|
@@ -154,7 +172,7 @@
|
|
|
:disabled="!form.fLoadportid || !form.fDestportid">查看船期
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <span style="color:red">{{estimaTe.pidName}}</span>
|
|
|
+ <span style="color:red;display: block;margin-bottom: -40px;">{{estimaTe.pidName}}</span>
|
|
|
<!-- 步骤条-->
|
|
|
<div style="width: 100%;" v-if="!estimaTe">
|
|
|
<div style="width: 80%;margin: 0 auto;padding-bottom: 10px">
|
|
@@ -667,6 +685,7 @@ export default {
|
|
|
tableData: [],
|
|
|
container: [],
|
|
|
form: {},
|
|
|
+ etentioncargo:[],
|
|
|
estimaTe: '',
|
|
|
list: {
|
|
|
fInsuranceamt:0,
|
|
@@ -676,7 +695,8 @@ export default {
|
|
|
whether: false,
|
|
|
dangerous: [],
|
|
|
boxStatus: true,
|
|
|
- fStatus:[]
|
|
|
+ fStatus:[],
|
|
|
+ cEsign:[]
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -687,6 +707,8 @@ export default {
|
|
|
this.dictionary('f_packageid');
|
|
|
this.dictionary('f_ifdanger');
|
|
|
this.dictionary('f_updateEF');
|
|
|
+ this.dictionary('f_sign');
|
|
|
+ this.dictionary('f_detentioncargo');
|
|
|
this.handleQuery();
|
|
|
this.queryGoods();
|
|
|
this.queryContainer();
|
|
@@ -695,6 +717,12 @@ export default {
|
|
|
this.detailsInquiry(this.$route.query.data);
|
|
|
this.boxInformation = true;
|
|
|
this.boxStatus = false;
|
|
|
+ }else if (this.$route.query.res){
|
|
|
+ let data = JSON.parse(this.$route.query.res)
|
|
|
+ this.form.fLoadportid = data.fPortofloadid
|
|
|
+ this.form.fDestportid = data.fDistinationid
|
|
|
+ this.form.fBsdate = data.fEtd
|
|
|
+ this.estimatedTime()
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -872,9 +900,14 @@ export default {
|
|
|
this.dangerous = res.data.data;
|
|
|
break;
|
|
|
case 'f_updateEF':
|
|
|
- console.log(res.data.data);
|
|
|
this.fStatus = res.data.data;
|
|
|
break;
|
|
|
+ case 'f_sign':
|
|
|
+ this.cEsign = res.data.data;
|
|
|
+ break;
|
|
|
+ case 'f_detentioncargo':
|
|
|
+ this.etentioncargo = res.data.data;
|
|
|
+ break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|