|
@@ -455,7 +455,7 @@
|
|
|
:disabled="detailData.seeDisabled || generateBillsfalse" :buttonIf="false"
|
|
|
placeholder="请选择船名" :forParameter="{ key: 'id', label: 'enName', value: 'enName' }"
|
|
|
:multi-columns="true"
|
|
|
- :dropdown-columns="corpDorpdownColumns"
|
|
|
+ :dropdown-columns="vesselDorpdownColumns"
|
|
|
@remoteMethod="remoteMethod($event, 'vessel')"
|
|
|
@corpChange="corpChange($event, 'vessel')"
|
|
|
@corpFocus="remoteMethod($event, 'vessel')">
|
|
@@ -1062,31 +1062,35 @@ export default {
|
|
|
marksIndex: 1,
|
|
|
business:null,
|
|
|
|
|
|
- // KL,CUSTOMS,MOL
|
|
|
- ediColumns:['INTTRA','MAEU','OOCL','APL','PIL','HJ','HMM','ESL','ZIM','PO','MSC','CSAV','QQCT','CTM','SML','VOLTA'],
|
|
|
// 港口下拉列
|
|
|
portDorpdownColumns:[],
|
|
|
// 客户下拉列
|
|
|
- corpDorpdownColumns:[],
|
|
|
+ vesselDorpdownColumns:[],
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- let pdColumns = [
|
|
|
- {key: 'code', field: 'code', label: '编码', width: '80px'},
|
|
|
+ let portColumns = [
|
|
|
+ {key: 'code', field: 'code', label: '编码', width: '60px'},
|
|
|
{key: 'enName', field: 'enName', label: '名称', width: '200px'},
|
|
|
]
|
|
|
|
|
|
- let cpColumns = [
|
|
|
+ // KL,CUSTOMS,MOL
|
|
|
+ // APL,ESL,HMM,INTTRA,ONE,PIL,SML,VOLTA,YANGMING,ZIM
|
|
|
+ // let columnNames = 'INTTRA,MAEU,OOCL,APL,PIL,HJ,HMM,ESL,ZIM,PO,MSC,CSAV,QQCT,CTM,SML,VOLTA';
|
|
|
+ let columnNames = 'APL,ESL,HMM,INTTRA,ONE,PIL,SML,VOLTA,PO,ZIM';
|
|
|
+ columnNames.split(',').forEach(col=>{
|
|
|
+ portColumns.push({key: col, field: col, label: col, fontSize: '10px', width: '45px'})
|
|
|
+ })
|
|
|
+ this.portDorpdownColumns = portColumns;
|
|
|
+
|
|
|
+ let vslColumns = [
|
|
|
{key: 'enName', field: 'enName', label: '名称', width: '200px'},
|
|
|
]
|
|
|
-
|
|
|
- this.ediColumns.forEach(col=>{
|
|
|
- pdColumns.push({key: col, field: col, label: col, fontSize: '10px', width: '45px'})
|
|
|
- cpColumns.push({key: col, field: col, label: col, fontSize: '10px', width: '45px'})
|
|
|
+ columnNames = 'APL,HMM,MSC,CSAV,SML'
|
|
|
+ columnNames.split(',').forEach(col=>{
|
|
|
+ vslColumns.push({key: col, field: col, label: col, fontSize: '10px', width: '45px'})
|
|
|
})
|
|
|
-
|
|
|
- this.portDorpdownColumns = pdColumns;
|
|
|
- this.corpDorpdownColumns = cpColumns;
|
|
|
+ this.vesselDorpdownColumns = vslColumns;
|
|
|
|
|
|
isProcurement({ "param": "textarea.number" }).then(res => {
|
|
|
if (res.data.data) {
|
|
@@ -1945,6 +1949,7 @@ export default {
|
|
|
// 船名
|
|
|
vesselBvesselsListfun(cnName) {
|
|
|
getBvesselsList(1, 10, { cnName, status: 0 }).then(res => {
|
|
|
+ this.processEDIAsColumns(res.data.data.records);
|
|
|
this.vesselData = res.data.data.records
|
|
|
})
|
|
|
},
|