|
@@ -36,11 +36,44 @@
|
|
|
<div style="margin-top: 50px">
|
|
|
<trade-card title="基础信息">
|
|
|
<avue-form :option="optionForm" v-model="form" ref="form">
|
|
|
+ <template slot="corpCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('客户')">客户:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="hshipperCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('客户')">发货人:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="hconsigneeCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('客户')">收货人:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="mnotifyCntyCodeLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('原产地')">原产地:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="polCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('港口')">起运港:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="podCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('港口')">目的港:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="vesselCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('船名')">船名:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="carrierCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('客户')">船公司:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="bookingAgentCnNameLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('客户')">船代:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="hscodeLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('HSCODE')">HSCODE:</span>
|
|
|
+ </template>
|
|
|
+ <template slot="packingUnitLabel">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('包装')">包装:</span>
|
|
|
+ </template>
|
|
|
<tempalte slot="corpCnName">
|
|
|
<dic-select v-model="form.corpCnName" placeholder="客户" key="id" label="cnName" res="records"
|
|
|
url="/blade-los/bcorps/listByType?corpTypeName=客户" :filterable="true" :remote="true"
|
|
|
dataName="cnName" @selectChange="dicChange('corpCnName', $event)"
|
|
|
- :disabled="editDisabled"></dic-select>
|
|
|
+ :disabled="editDisabled" :searchShow="true"></dic-select>
|
|
|
</tempalte>
|
|
|
<tempalte slot="polCnName">
|
|
|
<dic-select v-model="form.polCnName" placeholder="起运港" key="id" label="cnName" res="records"
|
|
@@ -122,6 +155,14 @@
|
|
|
@click="addRow()">
|
|
|
</el-button>
|
|
|
</template>
|
|
|
+ <template slot="cntrTypeCodeHeader" slot-scope="{column}">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('箱型')">{{ (column || {}).label
|
|
|
+ }}</span>
|
|
|
+ </template>
|
|
|
+ <template slot="goodsNameHeader" slot-scope="{column}">
|
|
|
+ <span style="color: #1e9fff;cursor: pointer;" @click="inJump('HSCODE')">{{ (column || {}).label
|
|
|
+ }}</span>
|
|
|
+ </template>
|
|
|
<template slot="index" slot-scope="{row,index}">
|
|
|
<span>{{ index + 1 }}</span>
|
|
|
</template>
|
|
@@ -1167,7 +1208,7 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- showLock:false
|
|
|
+ showLock: false
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -1225,6 +1266,29 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ inJump(name) {
|
|
|
+ if (name == '客户') {
|
|
|
+ this.$router.push('/iosBasicData/bcorps/index')
|
|
|
+ }
|
|
|
+ if (name == '原产地') {
|
|
|
+ this.$router.push('/iosBasicData/bcountrys/index')
|
|
|
+ }
|
|
|
+ if (name == '港口') {
|
|
|
+ this.$router.push('/iosBasicData/bports/index')
|
|
|
+ }
|
|
|
+ if (name == 'HSCODE') {
|
|
|
+ this.$router.push('/iosBasicData/bcommodity/index')
|
|
|
+ }
|
|
|
+ if (name == '船名') {
|
|
|
+ this.$router.push('/iosBasicData/bvessels/index')
|
|
|
+ }
|
|
|
+ if (name == '包装') {
|
|
|
+ this.$router.push('/iosBasicData/bpackages/index')
|
|
|
+ }
|
|
|
+ if (name == '箱型') {
|
|
|
+ this.$router.push('/iosBasicData/bcntrtypes/index')
|
|
|
+ }
|
|
|
+ },
|
|
|
getDetaiByMblno(billNo) {
|
|
|
this.editButton = true
|
|
|
this.editDisabled = true
|
|
@@ -1750,6 +1814,7 @@ export default {
|
|
|
});
|
|
|
getDetail({ id: id }).then(res => {
|
|
|
this.form = res.data.data
|
|
|
+ this.inLock()
|
|
|
this.$refs.crud.dicInit();
|
|
|
this.$refs.crud3.dicInit();
|
|
|
}).finally(() => {
|