|
|
@@ -157,9 +157,8 @@
|
|
|
placeholder="开始日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
- <el-form-item label="容器选择">
|
|
|
- <el-select size="mini" style="width:100%" v-model="value" placeholder="请选择">
|
|
|
+ <el-form-item label="容器类型">
|
|
|
+ <el-select size="mini" style="width:100%" v-model="DItem" placeholder="请选择" @change="GetEquipmentInfos">
|
|
|
<el-option
|
|
|
v-for="item in EquipmentList"
|
|
|
:key="item.DItem"
|
|
|
@@ -169,7 +168,6 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
|
|
|
-
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="样本编码">
|
|
|
@@ -194,6 +192,22 @@
|
|
|
placeholder="结束日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="容器名称">
|
|
|
+ <el-select
|
|
|
+ size="mini"
|
|
|
+ v-model="EquipmentIds"
|
|
|
+ multiple
|
|
|
+ collapse-tags
|
|
|
+ style="width: 100%"
|
|
|
+ placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in EquipmentInfosList"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="样本源名称">
|
|
|
@@ -308,10 +322,13 @@
|
|
|
Stnotevalue: '', // 特有扩展检索值
|
|
|
STNoteField: [], // 特有扩展名称
|
|
|
CreateBy: '', // 录入人
|
|
|
+ DItem: '', // 容器类型id
|
|
|
EquipmentList: [], // 容器类型列表
|
|
|
+ EquipmentInfosList: [], // 容器名称列表
|
|
|
StartDate: '', // 开始时期
|
|
|
EndDate: '', // 结束时期
|
|
|
CreateOn: [],
|
|
|
+ EquipmentIds: [], // 设备id列表
|
|
|
Name: '', // 名称
|
|
|
SourceName: '', // 样本来源
|
|
|
Validity: [], // 有效日期
|
|
|
@@ -570,6 +587,8 @@
|
|
|
STNoteField: this.STNoteField,
|
|
|
CreateBy: this.CreateBy,
|
|
|
SourceName: this.SourceName,
|
|
|
+ DItem: this.DItem,
|
|
|
+ EquipmentIds: this.EquipmentIds,
|
|
|
Name: this.Name,
|
|
|
Validity: this.Validity,
|
|
|
CreateOn: this.CreateOn,
|
|
|
@@ -606,6 +625,12 @@
|
|
|
this.EquipmentList = res.data
|
|
|
})
|
|
|
},
|
|
|
+ GetEquipmentInfos () {
|
|
|
+ service.postRequest('dashoo.biobank.bee-0.1', 'Equipment', 'GetEquipmentInfos', {DItem: this.DItem})
|
|
|
+ .then(res => {
|
|
|
+ this.EquipmentInfosList = res.data
|
|
|
+ })
|
|
|
+ },
|
|
|
// 根据子code获取所有父code
|
|
|
getparentcodebytopcode (v) {
|
|
|
let _this = this
|
|
|
@@ -1344,6 +1369,8 @@
|
|
|
}, */
|
|
|
clearSearch () {
|
|
|
this.BarCode = ''
|
|
|
+ this.DItem = ''
|
|
|
+ this.EquipmentIds = ''
|
|
|
this.SampleCode = ''
|
|
|
this.SourceName = ''
|
|
|
this.InnerCode = ''
|
|
|
@@ -1355,6 +1382,7 @@
|
|
|
this.SampleType = ''
|
|
|
this.STNoteField = ''
|
|
|
this.Stnotevalue = ''
|
|
|
+
|
|
|
this.Validity = []
|
|
|
this.currentPage = 1
|
|
|
this.GroupName = ''
|