Commit 3e5dffba by lichengming

修改了试验项目分配

parent d0153d25
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<Col span="24"> <Col span="24">
<Form id="task-assign-sample-left" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-sample-left" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" label="委托编号:"> <Form-item class="search-item" label="试样编号:">
<Input v-model="formObj.client" @on-enter="_formSearch" placeholder="请输入检测项目" clearable></Input> <Input v-model="formObj.sampleCode" @on-enter="_formSearch" placeholder="请输入试样编号" clearable></Input>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button @click="_formSearch" type="primary">搜索</Button> <Button @click="_formSearch" type="primary">搜索</Button>
...@@ -51,7 +51,8 @@ export default { ...@@ -51,7 +51,8 @@ export default {
return { return {
currentComponent: '', currentComponent: '',
formObj: { formObj: {
entrustId: undefined entrustId: undefined,
sampleCode: undefined
}, },
entrustId: '', entrustId: '',
tableName: 'food-task-assign-item-left', tableName: 'food-task-assign-item-left',
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<Col span="24"> <Col span="24">
<Form id="task-assign-sample-right" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-sample-right" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" label="委托编号:"> <Form-item class="search-item" label="试验名称:">
<Input v-model="formObj.client" placeholder="请输入检测项目" clearable @on-enter="_formSearch"></Input> <Input v-model="formObj.name" placeholder="请输入试验名称" clearable @on-enter="_formSearch"></Input>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button type="primary" @click="_formSearch">搜索</Button> <Button type="primary" @click="_formSearch">搜索</Button>
...@@ -60,7 +60,9 @@ export default { ...@@ -60,7 +60,9 @@ export default {
return { return {
// 定义表格名称----英文 // 定义表格名称----英文
tableName: 'food-task-assign-item-right', tableName: 'food-task-assign-item-right',
formObj: {}, formObj: {
sampleCode: undefined
},
// 用户自己选中的列 // 用户自己选中的列
userColumns: [], userColumns: [],
currentComponent: '', currentComponent: '',
...@@ -89,7 +91,7 @@ export default { ...@@ -89,7 +91,7 @@ export default {
getPage: {}, getPage: {},
pageColumns: [ pageColumns: [
{ title: '试验名称', key: 'name', width: 160 }, { title: '试验名称', key: 'name', width: 160 },
{ title: '样品编号', key: 'sampleCode', width: 160 }, { title: '试样编号', key: 'sampleCode', width: 160 },
{ title: '试验人员', key: 'tester', width: 180 }, { title: '试验人员', key: 'tester', width: 180 },
{ title: '分配人', key: 'alloter', width: 160 }, { title: '分配人', key: 'alloter', width: 160 },
{ title: '分配时间', key: 'allotTime', width: 160, datetime: true }, { title: '分配时间', key: 'allotTime', width: 160, datetime: true },
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<Form id="task-assign-item-left" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-item-left" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" label="检测项目:"> <Form-item class="search-item" label="检测项目:">
<Input v-model="formObj.client" @on-enter="_formSearch" placeholder="请输入检测项目" clearable></Input> <Input v-model="formObj.name" @on-enter="_formSearch" placeholder="请输入检测项目" clearable></Input>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button @click="_formSearch" type="primary">搜索</Button> <Button @click="_formSearch" type="primary">搜索</Button>
...@@ -51,7 +51,9 @@ export default { ...@@ -51,7 +51,9 @@ export default {
data() { data() {
return { return {
currentComponent: '', currentComponent: '',
formObj: {}, formObj: {
name: undefined
},
tableName: 'food-task-assign-item-left', tableName: 'food-task-assign-item-left',
// 用户自己选中的列 // 用户自己选中的列
userColumns: [], userColumns: [],
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<Col span="24"> <Col span="24">
<Form id="task-assign-item-right" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-item-right" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" label="检测项目:"> <Form-item class="search-item" label="试样编号:">
<Input v-model="formObj.client" @on-enter="_formSearch" placeholder="请输入检测项目" clearable></Input> <Input v-model="formObj.sampleCode" @on-enter="_formSearch" placeholder="请输入试样编号" clearable></Input>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button @click="_formSearch" type="primary">搜索</Button> <Button @click="_formSearch" type="primary">搜索</Button>
...@@ -63,7 +63,8 @@ export default { ...@@ -63,7 +63,8 @@ export default {
entrustId: '', entrustId: '',
name: '', name: '',
testMethod: '', testMethod: '',
testBasis: '' testBasis: '',
sampleCode: undefined
}, },
entrustId: '', entrustId: '',
// 用户自己选中的列 // 用户自己选中的列
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<Col span="24"> <Col span="24">
<Form id="task-assign-sample-left" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-sample-left" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" label="委托编号:"> <Form-item class="search-item" label="试样编号:">
<Input v-model="formObj.client" @on-enter="_formSearch" placeholder="请输入检测项目" clearable></Input> <Input v-model="formObj.sampleCode" @on-enter="_formSearch" placeholder="请输入试样编号" clearable></Input>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button @click="_formSearch" type="primary">搜索</Button> <Button @click="_formSearch" type="primary">搜索</Button>
...@@ -51,7 +51,8 @@ export default { ...@@ -51,7 +51,8 @@ export default {
return { return {
currentComponent: '', currentComponent: '',
formObj: { formObj: {
entrustId: undefined entrustId: undefined,
sampleCode: undefined
}, },
entrustId: '', entrustId: '',
tableName: 'food-task-assign-item-left', tableName: 'food-task-assign-item-left',
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<Col span="24"> <Col span="24">
<Form id="task-assign-sample-right" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-sample-right" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" label="委托编号:"> <Form-item class="search-item" label="试验名称:">
<Input v-model="formObj.client" @on-enter="_formSearch" placeholder="请输入检测项目" clearable></Input> <Input v-model="formObj.name" @on-enter="_formSearch" placeholder="请输入试验名称" clearable></Input>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button @click="_formSearch" type="primary">搜索</Button> <Button @click="_formSearch" type="primary">搜索</Button>
...@@ -60,7 +60,9 @@ export default { ...@@ -60,7 +60,9 @@ export default {
return { return {
// 定义表格名称----英文 // 定义表格名称----英文
tableName: 'food-task-assign-item-right', tableName: 'food-task-assign-item-right',
formObj: {}, formObj: {
name: undefined
},
// 用户自己选中的列 // 用户自己选中的列
userColumns: [], userColumns: [],
currentComponent: '', currentComponent: '',
......
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