改插件

szh_zidingyibiaoti
lilu 2 years ago
parent 67179475de
commit d24ad377c8

@ -105,6 +105,7 @@ export default {
defaultVal(nval, oval) {
if (this.inEdit) { return false }
this.value = nval
console.log('== 修改内容auto ==', nval)
}
},
mounted() {
@ -165,6 +166,10 @@ export default {
this.inEdit = false
}, 800)
console.log('== handleChange ==', e)
this.$emit('selectInput', {
type: this.type,
res: e || ''
})
if (e) {
Object.keys(this.searchQuery).map((item, index) => {
if (['Title', 'KeyWord', 'SearchValue', 'name', 'keyword', 'queryItem'].includes(item)) {

@ -109,6 +109,7 @@
}"
:showLabel="['vessel']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
class="copy-input"
@ -236,6 +237,7 @@
:searchQuery="{ Title: '', Type: 20 }"
:showLabel="['title']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="shippername"
@ -277,6 +279,7 @@
:searchQuery="{ KeyWord: '' }"
:showLabel="['code', 'cnName']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="shippercountry"
@ -327,6 +330,7 @@
:searchQuery="{ Title: '', Type: 10 }"
:showLabel="['title']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="consigneename"
@ -368,6 +372,7 @@
:searchQuery="{ KeyWord: '' }"
:showLabel="['code', 'cnName']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="consigneecountry"
@ -418,6 +423,7 @@
:searchQuery="{ Title: '', Type: 30 }"
:showLabel="['title']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="notifypartyname"
@ -459,6 +465,7 @@
:searchQuery="{ KeyWord: '' }"
:showLabel="['code', 'cnName']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="notifypartycountry"
@ -508,6 +515,7 @@
:searchQuery="{ KeyWord: '' }"
:showLabel="['ediCode', 'enName']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="portloadid"
@ -555,6 +563,7 @@
:searchQuery="{ KeyWord: '' }"
:showLabel="['ediCode', 'enName']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
type="portdischargeid"
@ -601,6 +610,7 @@
:searchQuery="{ KeyWord: '' }"
:showLabel="['ediCode', 'enName']"
@select="getAutoViewRes"
@selectInput="getAutoViewResInput"
></autoView>
<!-- <selectView
@ -1950,6 +1960,10 @@ export default {
}
console.log('== 模糊搜索后的预定舱 ==', this.orderDetails)
},
getAutoViewResInput ({ type, res }) {
this.orderDetails[type] = res || ''
console.log('== 模糊搜索后的预定舱 ==', this.orderDetails)
},
getTextareaChange({ type, value }) {
this.orderDetails[type] = value
this.$forceUpdate()

Loading…
Cancel
Save