diff --git a/src/views/main/BookingLedger/detail/components/ediMore.vue b/src/views/main/BookingLedger/detail/components/ediMore.vue index 99ba60b..a24802e 100644 --- a/src/views/main/BookingLedger/detail/components/ediMore.vue +++ b/src/views/main/BookingLedger/detail/components/ediMore.vue @@ -9,7 +9,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -19,7 +19,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -29,7 +29,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -39,7 +39,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -49,11 +49,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -63,11 +59,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -77,11 +69,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -91,11 +79,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -105,7 +89,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -115,7 +99,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -125,7 +109,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -135,7 +119,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -145,7 +129,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -155,7 +139,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -165,7 +149,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -175,7 +159,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -185,7 +169,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -195,7 +179,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -206,7 +190,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -229,7 +213,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -239,7 +223,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }" has-feedback > - + @@ -249,7 +233,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 21 } }" has-feedback > - + @@ -259,7 +243,7 @@ :wrapperCol="{ xs: { span: 24 }, sm: { span: 21 } }" has-feedback > - + diff --git a/src/views/main/BookingLedger/detail/modules/basicInfo.vue b/src/views/main/BookingLedger/detail/modules/basicInfo.vue index aba4bb8..78d5752 100644 --- a/src/views/main/BookingLedger/detail/modules/basicInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/basicInfo.vue @@ -12,11 +12,14 @@ class="customer-input" v-model="details.customername" :data-source="customerDataArr" - placeholder="请输入客户" @select="customerSelect" @change="customerChange" /> - + @@ -27,7 +30,7 @@ :allowClear="true" :data-source="carrierDataArr" v-model="details.carrier" - placeholder="请输入船公司" + @select="carrierSelect" @change="carrierChange" /> --> @@ -57,21 +60,20 @@ class="customer-input" v-model="details.forwarder" :data-source="forwarderDataArr" - placeholder="请输入订舱代理" @select="forwarderSelect" @change="forwarderChange" /> - + - + - + @@ -82,7 +84,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -93,20 +95,20 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -120,7 +122,6 @@ class="customer-input" v-model="details.vessel" :data-source="vesselDataArr" - placeholder="请输入船名" @select="vesselSelect" @change="vesselChange" /> @@ -134,7 +135,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -180,13 +180,7 @@ has-feedback >
- + W{{ etdWeek || '--' }} @@ -204,7 +198,7 @@ has-feedback >
- +
@@ -217,7 +211,6 @@ class="customer-input" v-model="details.lanename" :data-source="lanenameDataArr" - placeholder="请输入航线" @select="lanenameSelect" @change="lanenameChange" /> @@ -230,7 +223,6 @@ class="customer-input" v-model="details.shipagency" :data-source="shipagencyDataArr" - placeholder="请输入船代" @select="shipagencySelect" @change="shipagencyChange" /> @@ -245,7 +237,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -265,7 +257,6 @@ class="customer-input" v-model="details.sale" :data-source="saleUserListArr" - placeholder="请输入销售人员" @select="saleSelect" @change="saleChange" /> @@ -284,7 +275,6 @@ class="customer-input" v-model="details.op" :data-source="opUserListArr" - placeholder="请输入操作人员" @select="opSelect" @change="opChange" /> @@ -303,7 +293,6 @@ class="customer-input" v-model="details.doc" :data-source="docUserListArr" - placeholder="请输入单证人员" @select="docSelect" @change="docChange" /> @@ -322,7 +311,6 @@ class="customer-input" v-model="details.custservice" :data-source="custserviceUserListArr" - placeholder="请输入客服人员" @select="custserviceSelect" @change="custserviceChange" /> @@ -373,7 +361,6 @@ @@ -336,27 +331,27 @@ import { GetPortloadlist, GetPortlist, GetFrt, GetService, Codeissuetypelist } f export default { name: '', components: { - AutoComplete, + AutoComplete }, props: { details: { type: Object, default: () => { return {} - }, - }, + } + } }, data() { return { labelCol: { xs: { span: 24 }, sm: { span: 8 }, - md: { span: 10 }, + md: { span: 10 } }, wrapperCol: { xs: { span: 24 }, sm: { span: 15 }, - md: { span: 13 }, + md: { span: 13 } }, showKey: ['1'], issuetypeData: [], @@ -365,7 +360,7 @@ export default { prepardatData: [], payableatData: [], blfrtData: [], - serviceData: [], + serviceData: [] } }, watch: { @@ -374,11 +369,11 @@ export default { // console.log('数据改变', nval) this.$emit('changeDetail', { detail: nval, - type: 'billInfo', + type: 'billInfo' }) }, - deep: true, - }, + deep: true + } }, computed: { issuetypeDataArr() { @@ -459,7 +454,7 @@ export default { } else { return [] } - }, + } }, created() { this.init() @@ -476,9 +471,9 @@ export default { // 签单方式 - start getIssuetypeList(name = '') { Codeissuetypelist({ - Name: name, + Name: name }) - .then((res) => { + .then(res => { if (res.code === 200) { this.issuetypeData = res.data const arr = [] @@ -492,7 +487,7 @@ export default { this.$forceUpdate() } }) - .catch((err) => { + .catch(err => { console.log(err) }) }, @@ -503,29 +498,27 @@ export default { issuetypeChange(value) { this.getIssuetypeList(value) }, - handleIssuetypeChange (index) { + handleIssuetypeChange(index) { this.details.issuetype = this.issuetypeSelectData[index].enName console.log(this.details.issuetype) }, filterOption(input, option) { - return ( - option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 - ); + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, // 签单方式 - end // 签单地点 - start getPortloadlist(name = '', type) { GetPortloadlist({ - Name: name, + Name: name }) - .then((res) => { + .then(res => { if (res.code === 200) { this[`${type}Data`] = res.data this.$forceUpdate() } }) - .catch((err) => { + .catch(err => { console.log(err) }) }, @@ -554,15 +547,15 @@ export default { // 到付地点 - start getPortlist(name = '', type) { GetPortlist({ - Name: name, + Name: name }) - .then((res) => { + .then(res => { if (res.code === 200) { this[`${type}Data`] = res.data.splice(0, 500) this.$forceUpdate() } }) - .catch((err) => { + .catch(err => { console.log(err) }) }, @@ -579,15 +572,15 @@ export default { // 付费方式 - start getFrt(name = '') { GetFrt({ - Name: name, + Name: name }) - .then((res) => { + .then(res => { if (res.code === 200) { this.blfrtData = res.data this.$forceUpdate() } }) - .catch((err) => { + .catch(err => { console.log(err) }) }, @@ -602,15 +595,15 @@ export default { // 运输条款 - start getService(name = '') { GetService({ - Name: name, + Name: name }) - .then((res) => { + .then(res => { if (res.code === 200) { this.serviceData = res.data this.$forceUpdate() } }) - .catch((err) => { + .catch(err => { console.log(err) }) }, @@ -623,8 +616,8 @@ export default { // 运输条款 - end // ===== 旧数据 ==== - handleChange() {}, - }, + handleChange() {} + } } diff --git a/src/views/main/BookingLedger/detail/modules/cargoInfo.vue b/src/views/main/BookingLedger/detail/modules/cargoInfo.vue index 7f2c91e..a89fcd4 100644 --- a/src/views/main/BookingLedger/detail/modules/cargoInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/cargoInfo.vue @@ -12,7 +12,7 @@
Marks & Nos.(标记与号码)
- +
@@ -31,16 +31,16 @@
HS编码
- +
- +
件数大写: - + @@ -55,16 +55,16 @@ export default { type: Object, default: () => { return {} - }, + } }, moreStr: { type: String, - default: '', - }, + default: '' + } }, data() { return { - showKey: ['1'], + showKey: ['1'] } }, watch: { @@ -72,10 +72,10 @@ export default { handler(nval, oval) { this.$emit('changeDetail', { detail: nval, - type: 'cargoInfo', + type: 'cargoInfo' }) }, - deep: true, + deep: true }, moreStr(nval, oval) { if (nval !== oval) { @@ -85,14 +85,14 @@ export default { } this.details.description = str + nval } - }, + } }, created() {}, methods: { handleChange(value) { this.details.cargoid = value - }, - }, + } + } } diff --git a/src/views/main/BookingLedger/detail/modules/goodsTable.vue b/src/views/main/BookingLedger/detail/modules/goodsTable.vue index ef5d01f..c36a274 100644 --- a/src/views/main/BookingLedger/detail/modules/goodsTable.vue +++ b/src/views/main/BookingLedger/detail/modules/goodsTable.vue @@ -121,7 +121,6 @@ export default { { @@ -179,7 +178,6 @@ export default { { @@ -228,7 +226,6 @@ export default { { @@ -341,7 +338,6 @@ export default { { diff --git a/src/views/main/BookingLedger/detail/modules/mailingInfo.vue b/src/views/main/BookingLedger/detail/modules/mailingInfo.vue index 9f53d06..1197d21 100644 --- a/src/views/main/BookingLedger/detail/modules/mailingInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/mailingInfo.vue @@ -15,15 +15,14 @@ v-model="shippername" class="customer-input" :data-source="shipperDataArr" - placeholder="请输入发货人" @select="shipperSelect" @change="shipperChange" /> 保存 -
- * +
+ * 35 40 50 @@ -33,11 +32,14 @@ -
+
{{ num.length }}
@@ -50,7 +52,6 @@ v-model="consigneename" class="customer-input" :data-source="consigneeDataArr" - placeholder="请输入收货人" @select="consigneeSelect" @change="consigneeChange" /> @@ -58,7 +59,7 @@ >保存
- * + * 35 40 50 @@ -68,11 +69,14 @@ -
+
{{ num.length }}
@@ -85,7 +89,6 @@ v-model="notifypartyname" class="customer-input" :data-source="notifyDataArr" - placeholder="请输入通知人" @select="notifySelect" @change="notifyChange" /> @@ -93,7 +96,7 @@ >保存
- * + * 35 40 50 @@ -103,11 +106,14 @@ -
+
{{ num.length }}
@@ -131,7 +137,7 @@ v-model="details.yard" class="customer-input" :data-source="yardDataArr" - placeholder="请输入场站" + @select="yardSelect" @change="yardChange" /> --> @@ -169,7 +175,6 @@ v-model="details.customser" class="customer-input" :data-source="customserDataArr" - placeholder="请输入报关行" @select="customserSelect" @change="customserChange" /> @@ -188,7 +193,6 @@ v-model="details.trucker" class="customer-input" :data-source="truckerDataArr" - placeholder="请输入车队" @select="truckerSelect" @change="truckerChange" /> @@ -207,7 +211,6 @@ v-model="details.agentid" class="customer-input" :data-source="agentidDataArr" - placeholder="请输入国外代理" @select="agentidSelect" @change="agentidChange" /> @@ -221,7 +224,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -238,7 +241,6 @@ style="min-width:100px" show-time format="YYYY-MM-DD HH:mm:ss" - placeholder="截港时间" v-model="details.closingdate" > @@ -257,7 +259,6 @@ style="min-width:100px" show-time format="YYYY-MM-DD HH:mm:ss" - placeholder="截单时间" v-model="details.closedocdate" > @@ -276,7 +277,6 @@ style="min-width:100px" show-time format="YYYY-MM-DD HH:mm:ss" - placeholder="VGM时间" v-model="details.closevgmdate" > @@ -296,7 +296,6 @@ v-model="details.portload" class="customer-input" :data-source="portloadDataArr" - placeholder="请输入装货港" @select="portloadSelect" @change="portloadChange" /> @@ -310,7 +309,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -326,7 +325,6 @@ v-model="details.transport" class="customer-input" :data-source="transportDataArr" - placeholder="请输入中转港" @select="transportSelect" @change="transportChange" /> @@ -340,7 +338,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -356,7 +354,6 @@ v-model="details.portdischarge" class="customer-input" :data-source="portdischargeDataArr" - placeholder="请输入卸货港" @select="portdischargeSelect" @change="portdischargeChange" /> @@ -370,7 +367,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -386,7 +383,6 @@ v-model="details.destination" class="customer-input" :data-source="destinationDataArr" - placeholder="请输入目的地" @select="destinationSelect" @change="destinationChange" /> @@ -400,7 +396,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -416,7 +412,6 @@ v-model="details.placedelivery" class="customer-input" :data-source="placedeliveryDataArr" - placeholder="请输入交货地" @select="placedeliverySelect" @change="placedeliveryChange" /> @@ -430,7 +425,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -446,7 +441,6 @@ v-model="details.placereceipt" class="customer-input" :data-source="placereceiptDataArr" - placeholder="请输入收货地" @select="placereceiptSelect" @change="placereceiptChange" /> @@ -460,7 +454,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -471,7 +465,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -487,7 +481,6 @@ v-model="details.kindpkgs" class="customer-input" :data-source="kindpkgsDataArr" - placeholder="请输入包装" @select="kindpkgsSelect" @change="kindpkgsChange" /> @@ -501,7 +494,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -512,7 +505,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -531,7 +524,7 @@ >
模板名称
- +