|
@@ -332,6 +332,7 @@
|
|
|
<span v-if="item.label == 'fStatus'">{{scope.row.fStatus}}</span>
|
|
|
<span v-if="item.label == 'remark'">{{scope.row.remark}}</span>
|
|
|
<span v-if="item.label == 'createBy'">{{scope.row.createBy}}</span>
|
|
|
+ <span v-if="item.label == 'fLaneName'">{{scope.row.fLaneName}}</span>
|
|
|
<span v-if="item.label == 'createTime'">{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
|
|
<span v-if="item.label == 'updateBy'">{{scope.row.updateBy}}</span>
|
|
|
<span v-if="item.label == 'updateTime'">{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
|
|
@@ -644,14 +645,26 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="航线" prop="fLaneid" label-width="110px">
|
|
|
+ <el-select style="width:80%;" placeholder="请选择" :disabled="doNot"
|
|
|
+ v-model="form.fLaneid">
|
|
|
+ <el-option
|
|
|
+ v-for="(dict, index) in rouTe"
|
|
|
+ :key="dict.fId"
|
|
|
+ :label="dict.fName"
|
|
|
+ :value="dict.fId"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="总teu" prop="fTeu" label-width="110px">
|
|
|
<el-input style="width: 80%" size="small" v-model="form.fTeu" :disabled="doNot"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
-
|
|
|
- <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="状态" prop="fStatus" label-width="110px">
|
|
|
<el-select v-model="form.fStatus" style="width: 80%" :disabled="doNot" placeholder="请输入状态" >
|
|
@@ -685,7 +698,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import { getvessel,listCorps, getCorps, delCorps, addyard,getport, getManage, changeCorpsStatus,exportCorps } from "@/api/kaihe/shipDynamics/vesselDetail";
|
|
|
+ import { getvessel,listCorps, getCorps, delCorps, addyard,getport, getManage, changeCorpsStatus,exportCorps,routeSelection } from "@/api/kaihe/shipDynamics/vesselDetail";
|
|
|
import draggable from "vuedraggable";
|
|
|
import Vue from 'vue'
|
|
|
import Cookies from 'js-cookie'
|
|
@@ -754,6 +767,7 @@
|
|
|
data() {
|
|
|
return {
|
|
|
setRowList: [],
|
|
|
+ rouTe: [],
|
|
|
getRowList: [],
|
|
|
tableDate: [
|
|
|
{
|
|
@@ -774,6 +788,14 @@
|
|
|
},
|
|
|
{
|
|
|
surface: "3",
|
|
|
+ label: "fLaneName",
|
|
|
+ name: "航线",
|
|
|
+ fixed:"left",
|
|
|
+ checked: 0,
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "4",
|
|
|
label: "portofloadidName",
|
|
|
name: "装货港",
|
|
|
fixed:"left",
|
|
@@ -781,7 +803,7 @@
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "4",
|
|
|
+ surface: "5",
|
|
|
label: "portofdischargeidName",
|
|
|
name: "卸货港",
|
|
|
fixed:"left",
|
|
@@ -789,7 +811,7 @@
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "5",
|
|
|
+ surface: "6",
|
|
|
label: "distinationidName",
|
|
|
name: "目的地",
|
|
|
fixed:"left",
|
|
@@ -797,7 +819,7 @@
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "6",
|
|
|
+ surface: "7",
|
|
|
label: "portoftransshipmentName",
|
|
|
name: "中转港",
|
|
|
fixed:"left",
|
|
@@ -805,7 +827,7 @@
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "7",
|
|
|
+ surface: "8",
|
|
|
label: "fEtd",
|
|
|
name: "预计开船日期",
|
|
|
fixed:"left",
|
|
@@ -813,84 +835,84 @@
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "8",
|
|
|
+ surface: "9",
|
|
|
label: "fAtd",
|
|
|
name: "开船日期",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "9",
|
|
|
+ surface: "10",
|
|
|
label: "fEta",
|
|
|
name: "预计到达日期",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "10",
|
|
|
+ surface: "11",
|
|
|
label: "fAta",
|
|
|
name: "到港日",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "11",
|
|
|
+ surface: "12",
|
|
|
label: "manageidName",
|
|
|
name: "船管人",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "12",
|
|
|
+ surface: "13",
|
|
|
label: "fTel",
|
|
|
name: "联系方式",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "13",
|
|
|
+ surface: "14",
|
|
|
label: "fDays",
|
|
|
name: "航期",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "14",
|
|
|
+ surface: "15",
|
|
|
label: "fStatus",
|
|
|
name: "状态",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "15",
|
|
|
+ surface: "16",
|
|
|
label: "remark",
|
|
|
name: "备注",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "16",
|
|
|
+ surface: "17",
|
|
|
label: "createBy",
|
|
|
name: "录入人",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "17",
|
|
|
+ surface: "18",
|
|
|
label: "createTime",
|
|
|
name: "录入时间",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "18",
|
|
|
+ surface: "19",
|
|
|
label: "updateBy",
|
|
|
name: "最新修改人",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "19",
|
|
|
+ surface: "20",
|
|
|
label: "updateTime",
|
|
|
name: "最新修改时间",
|
|
|
checked: 0,
|
|
@@ -985,6 +1007,7 @@
|
|
|
fDistinationid:[{ required: true, message: "目的地不能为空", trigger: "blur" }],
|
|
|
fEtd:[{ required: true, message: "预计开船日期不能为空", trigger: "blur" }],
|
|
|
fEta:[{ required: true, message: "预计到达时间不能为空", trigger: "blur" }],
|
|
|
+ fLaneid:[{ required: true, message: "航线不能为空", trigger: "blur" }],
|
|
|
fTel:[{ required: true, message: "手机号不能为空", trigger: "blur" }, { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "blur" }],
|
|
|
fDucomentrayoffdate:[{ required: true, message: "截单日期不能为空", trigger: "blur" }]
|
|
|
}
|
|
@@ -1000,6 +1023,9 @@
|
|
|
this.getList()
|
|
|
},
|
|
|
created() {
|
|
|
+ routeSelection().then(res =>{
|
|
|
+ this.rouTe = res.rows;
|
|
|
+ })
|
|
|
this.setRowList = this.tableDate;
|
|
|
this.getRowList = this.tableDate;
|
|
|
this.getList();
|