修改问题

master
sunzehua 1 year ago
parent ddcd541372
commit 8f4a481196

@ -184,6 +184,14 @@ export default {
type: this.type, type: this.type,
res: e || '' res: e || ''
}) })
if (this.type === 'contractno') {
this.$emit('select', {
type: this.type,
res: {
contractNo: e
}
})
}
if (e) { if (e) {
Object.keys(this.searchQuery).map((item, index) => { Object.keys(this.searchQuery).map((item, index) => {
if (['Title', 'KeyWord', 'SearchValue', 'name', 'keyword', 'queryItem', 'Name'].includes(item)) { if (['Title', 'KeyWord', 'SearchValue', 'name', 'keyword', 'queryItem', 'Name'].includes(item)) {
@ -229,14 +237,15 @@ export default {
this.handleChange(e) this.handleChange(e)
}, },
getSelectBlur(e) { getSelectBlur(e) {
if (this.type === 'contractno') { console.log(e)
this.$emit('select', { // if (this.type === 'contractno') {
type: this.type, // this.$emit('select', {
res: { // type: this.type,
contractNo: this.value // res: {
} // contractNo: this.value
}) // }
} // })
// }
} }
} }
} }

@ -20,7 +20,7 @@
:wrapperCol="wrapperCol4" :wrapperCol="wrapperCol4"
has-feedback has-feedback
> >
<div class="customer-box" style="padding-right: 24px"> <div class="customer-box" >
<selectView <selectView
type="customername" type="customername"
:defaultVal="details.customername" :defaultVal="details.customername"
@ -50,7 +50,7 @@
:wrapperCol="wrapperCol2" :wrapperCol="wrapperCol2"
has-feedback has-feedback
> >
<div class="customer-box" style="padding-right: 24px"> <div class="customer-box" >
<selectView <selectView
type="thirdPay" type="thirdPay"
:defaultVal="details.thirdPay" :defaultVal="details.thirdPay"
@ -282,12 +282,8 @@
<a-form-model-item <a-form-model-item
class="from-label" class="from-label"
label="开船日期" label="开船日期"
:labelCol="{ xs: { span: 24 }, :labelCol="labelCol4"
sm: { span: 8 }, :wrapperCol="wrapperCol4"
md: { span: 8 }}"
:wrapperCol="{ xs: { span: 24 },
sm: { span: 12 },
md: { span: 12 }}"
has-feedback has-feedback
prop="etd" prop="etd"
> >
@ -308,12 +304,8 @@
<a-form-model-item <a-form-model-item
class="from-label" class="from-label"
label="船名" label="船名"
:labelCol="{ xs: { span: 24 }, :labelCol="labelCol2"
sm: { span: 4 }, :wrapperCol="wrapperCol2"
md: { span: 4 }}"
:wrapperCol="{ xs: { span: 24 },
sm: { span: 18 },
md: { span: 18 }}"
has-feedback has-feedback
prop="vessel" prop="vessel"
> >
@ -341,12 +333,8 @@
<a-form-model-item <a-form-model-item
class="from-label" class="from-label"
label="内部航次" label="内部航次"
:labelCol="{ xs: { span: 24 }, :labelCol="labelCol2"
sm: { span: 8 }, :wrapperCol="wrapperCol2"
md: { span: 8 }}"
:wrapperCol="{ xs: { span: 24 },
sm: { span: 12 },
md: { span: 12 }}"
has-feedback has-feedback
prop="voynoinner" prop="voynoinner"
> >
@ -360,12 +348,8 @@
<a-form-model-item <a-form-model-item
class="from-label" class="from-label"
label="内部航次" label="内部航次"
:labelCol="{ xs: { span: 24 }, :labelCol="labelCol2"
sm: { span: 6 }, :wrapperCol="wrapperCol2"
md: { span: 8 }}"
:wrapperCol="{ xs: { span: 24 },
sm: { span: 12 },
md: { span: 12 }}"
has-feedback has-feedback
prop="voynoinner" prop="voynoinner"
> >
@ -379,12 +363,8 @@
<a-form-model-item <a-form-model-item
class="from-label" class="from-label"
label="航次" label="航次"
:labelCol="{ xs: { span: 24 }, :labelCol="labelCol2"
sm: { span: 8 }, :wrapperCol="wrapperCol2"
md: { span: 8 }}"
:wrapperCol="{ xs: { span: 24 },
sm: { span: 12 },
md: { span: 12 }}"
has-feedback has-feedback
prop="voyno" prop="voyno"
> >
@ -397,12 +377,8 @@
<a-form-model-item <a-form-model-item
class="from-label" class="from-label"
label="海关航次" label="海关航次"
:labelCol="{ xs: { span: 24 }, :labelCol="labelCol2"
sm: { span: 8 }, :wrapperCol="wrapperCol2"
md: { span: 8 }}"
:wrapperCol="{ xs: { span: 24 },
sm: { span: 12 },
md: { span: 12 }}"
has-feedback has-feedback
prop="voyno" prop="voyno"
> >

Loading…
Cancel
Save