Commit 93160a88 by lichengming

修改了合同管理的样品查询

parent 74a0a7e8
......@@ -9,17 +9,17 @@
<Col span="24">
<Form id="test-item-form" :label-width="90" inline onsubmit="return false">
<label class="label-sign" />
<Form-item :label-width="70" label="授权资质仪器名称" >
<Form-item :label-width="70" label="样品名称" >
<Input
v-model="code"
v-model="name"
@on-enter="_pageChange(1)"
placeholder="授权资质仪器名称"
placeholder="样品名称"
style="width: 100%"
/>
</Form-item>
<Form-item label="检测依据名称">
<Input
v-model="name"
v-model="basis"
@on-enter="_pageChange(1)"
placeholder="请输入检测依据名称"
style="width: 100%"
......@@ -102,7 +102,8 @@ export default {
modalTitle: '',
currentRowData: {},
name: '',
code: ''
code: '',
basis: ''
}
},
methods: {
......@@ -110,6 +111,7 @@ export default {
this.modalTitle = '选择检测依据'
this.name = ''
this.code = ''
this.basis = ''
this._judge()
},
_judge() {
......@@ -145,6 +147,9 @@ export default {
if (this.code) {
data.code = this.code
}
if (this.basis) {
data.basis = this.basis
}
return this.$extend(data, this.pageParams)
},
_search() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment