Commit 55e6a51f by wangweidong

demo完善

parent 385f2f5a
......@@ -126,7 +126,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -106,7 +106,7 @@ export default {
pcTimeEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -130,7 +130,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -95,7 +95,7 @@ export default {
{ type: '', id: '', name: '提交' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '状态', key: 'status', status: true, width: 120 },
{ title: '物品名称', key: 'name', width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -107,7 +107,7 @@ export default {
pcTimeEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -141,7 +141,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -12,7 +12,7 @@
>
<label class="label-sign" />
<Form-item class="search-item" label="样本编号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="牌号:">
<Input v-model="formObj.name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
......
......@@ -132,7 +132,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -95,7 +95,7 @@ export default {
{ type: '', id: '', name: '提交' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '状态', key: 'status', status: true, width: 120 },
{ title: '物品名称', key: 'name', width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -107,7 +107,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
......@@ -131,7 +131,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -108,7 +108,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -12,20 +12,17 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="牌号:">
<Input name="name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品编号:">
<Input name="code" placeholder="请输入物品编号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="请检时间:">
<Form-item class="search-item" label="生产日期:">
<Date-picker
ref="pcTime"
type="datetimerange"
placeholder="报检时间"
placeholder="生产日期"
style="width: 100%;"
:editable="false"
transfer
......@@ -37,9 +34,7 @@
<!--<Form-item class="search-item" label="报检单位:">-->
<!--<Input name="declarationInspection" placeholder="请输入报检单位" clearable @on-enter="_formSearch" />-->
<!--</Form-item>-->
<Form-item class="search-item" label="送样人:">
<Input name="sender" placeholder="请输入送样人" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="样品接收人:">
<Input name="receiver" placeholder="请输入样品接收人" clearable @on-enter="_formSearch" />
</Form-item>
......@@ -135,13 +130,13 @@ export default {
],
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
align: 'center'
},
{ title: '物品名称', key: 'name', width: 200, align: 'center' },
{ title: '牌号', key: 'name', width: 200, align: 'center' },
{
title: '样品接收时间',
key: 'receiveTime',
......@@ -153,20 +148,12 @@ export default {
key: 'receiver',
align: 'center'
},
{ title: '物品编号', key: 'code', width: 200, align: 'center' },
{ title: '检测类型', key: 'category', width: 150, align: 'center' },
{ title: '价类', key: 'category', width: 150, align: 'center' },
{
title: '请检时间',
title: '生产日期',
key: 'pcTime',
align: 'center',
datetime: true
},
{ title: '送样人', key: 'sender', align: 'center' },
{
key: 'sendTime',
title: '送样人接收时间',
align: 'center',
datetime: true
}
],
getPage: {},
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
......@@ -131,7 +131,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -108,7 +108,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -26,7 +26,7 @@
style="width: 100%"
:default-sort="{prop: 'date', order: 'descending'}"
>
<el-table-column prop="sampleCode" label="样本号" sortable />
<el-table-column prop="sampleCode" label="样本号" sortable />
<el-table-column prop="name" label="物料名称" sortable />
<el-table-column prop="reportSn" label="报告编号" sortable>
<template slot-scope="scope">
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
......@@ -131,7 +131,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -117,7 +117,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -5,7 +5,7 @@
填写存放信息
</p>
<Form id="edit-form" ref="formObj" :model="formObj" :rules="ruleValidate" :label-width="70">
<Form-item label="存储期限" prop="timeLimit">
<Form-item label="存储期限(天)" prop="timeLimit">
<!--<Date-picker-->
<!--v-model="formObj.timeLimit"-->
<!--type="date"-->
......@@ -15,8 +15,10 @@
<!--@on-change="_sampleDeliveryTimeChange"-->
<!--/>-->
<Input
type="number"
v-model="formObj.timeLimit"
name="timeLimit"
@keydown.native="channelInputLimit"
placeholder="请输入存储期限"
clearable
/>
......@@ -29,6 +31,26 @@
clearable
/>
</Form-item>
<Form-item label="留样数量" prop="quantity">
<Input
type="number"
@keydown.native="channelInputLimit"
v-model="formObj.quantity"
name="quantity"
placeholder="请输入留样数量"
clearable
/>
</Form-item>
<Form-item label="单位" prop="unit">
<Input
v-model="formObj.unit"
name="unit"
placeholder="请输入留样数量单位"
clearable
/>
</Form-item>
</Form>
<div slot="footer">
<modal-footer ref="footerModal" :footer="footerList" @on-result-change="_footerResult" />
......@@ -41,6 +63,8 @@
import { drugSampleKeep } from '../../api'
const defVal = {
timeLimit: '',
quantity: '',
unit: '',
storageLocation: '#01'
}
export default {
......@@ -84,6 +108,15 @@ export default {
break
}
},
channelInputLimit(e) {
const key = e.key
// 不允许输入'e'和'.'
if (key === 'e' || key === '.') {
e.returnValue = false
return false
}
return true
},
_ok() {
this.$refs.formObj.validate(valid => {
if (valid) {
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -23,16 +23,16 @@
<Input name="supplier" placeholder="请输入供应商" clearable @on-enter="_formSearch" />
</Form-item>
<!--<Form-item label="存储期限:" class="search-item">-->
<!--<Date-picker-->
<!--ref="saveDate"-->
<!--type="daterange"-->
<!--placeholder="存储期限"-->
<!--style="width: 100%;"-->
<!--:editable="false"-->
<!--@on-change="_saveTimeChange"-->
<!--/>-->
<!--<input type="hidden" name="preparationTimeBegin">-->
<!--<input type="hidden" name="preparationTimeEnd">-->
<!--<Date-picker-->
<!--ref="saveDate"-->
<!--type="daterange"-->
<!--placeholder="存储期限"-->
<!--style="width: 100%;"-->
<!--:editable="false"-->
<!--@on-change="_saveTimeChange"-->
<!--/>-->
<!--<input type="hidden" name="preparationTimeBegin">-->
<!--<input type="hidden" name="preparationTimeEnd">-->
<!--</Form-item>-->
<Form-item class="search-item" label="存储位置:">
<Input name="storageLocation" placeholder="请输入存储位置" clearable @on-enter="_formSearch" />
......@@ -43,10 +43,12 @@
</Button>
</Form-item>
</Form>
<Col span="24">
<btn-list :msg="btn" :open="searchOpen" show-search-btn="true" @on-result-change="_btnClick" />
<Col span="24" />
<!-- <btn-list :msg="btn" :open="searchOpen" show-search-btn="true" @on-result-change="_btnClick" />-->
<el-button style="margin: 2px" type="primary" @click="_saveEdit">填写留样信息</el-button>
<el-button style="margin: 2px" type="primary" @click="_preDeal">处理</el-button>
</Col>
<Col span="24">
<Col span="24" />
<element-table
ref="pageTable"
:page-columns="pageColumns"
......@@ -91,30 +93,33 @@
<span v-else-if="item.datetime">
{{ scope.row[item.key]?$dateformat(scope.row[item.key],'yyyy-mm-dd HH:MM:ss'):'' }}
</span>
<span v-else-if="item.key === 'ctime'">
{{ scope.row[item.key]?$dateformat(scope.row[item.key],'yyyy-mm-dd'):'' }}
</span>
<span v-else-if="item.key === 'sampleNum'" :class="scope.row.warning !== undefined?'font-jude':''">
{{ scope.row[item.key]? scope.row[item.key]:''}}
{{ scope.row[item.key]? scope.row[item.key]:'' }}
</span>
<span v-else>
{{ scope.row[item.key] }}
</span>
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- slot="col"-->
<!-- label="操作"-->
<!-- align="center"-->
<!-- :width="90"-->
<!-- fixed="right"-->
<!-- >-->
<!-- <template slot-scope="scope">-->
<!-- <icon-list-->
<!-- :msg="editIndex !== scope.$index?iconMsg:iconMsgSave"-->
<!-- :row-data="scope.row"-->
<!-- :row-index="scope.$index"-->
<!-- @on-result-change="_iconClick"-->
<!-- />-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column-->
<!-- slot="col"-->
<!-- label="操作"-->
<!-- align="center"-->
<!-- :width="90"-->
<!-- fixed="right"-->
<!-- >-->
<!-- <template slot-scope="scope">-->
<!-- <icon-list-->
<!-- :msg="editIndex !== scope.$index?iconMsg:iconMsgSave"-->
<!-- :row-data="scope.row"-->
<!-- :row-index="scope.$index"-->
<!-- @on-result-change="_iconClick"-->
<!-- />-->
<!-- </template>-->
<!-- </el-table-column>-->
</element-table>
</Col>
</Row>
......@@ -139,25 +144,25 @@ export default {
return {
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 160,
width: 120,
fixed: 'left',
align: 'center'
},
{ title: '牌号', key: 'name', width: 120, align: 'center' },
{ title: '价类', key: 'category', width: 120, align: 'center' },
{
title: '制备类型',
key: 'type',
title: '卷制标准版本号',
key: 'standard',
width: 160,
align: 'center'
},
{ title: '物品名称', key: 'name', width: 160, align: 'center' },
{ title: '物品编号', key: 'code', width: 160, align: 'center' },
{ title: '检测类型', key: 'category', width: 160, align: 'center' },
{ title: '机台', key: 'samplePoint', width: 110, align: 'center' },
{
title: '制备质量',
title: '留样数量',
key: 'quantity',
width: 160,
width: 120,
align: 'center'
},
{
......@@ -167,13 +172,12 @@ export default {
align: 'center'
},
{
title: '制备时间',
key: 'keepTime',
width: 160,
align: 'center',
datetime: true
title: '开始留样时间',
key: 'ctime',
width: 120,
data: true,
align: 'center'
},
// { title: '单位', key: 'unit', width: 160, align: 'center' },
{
title: '存储期限(天)',
key: 'timeLimit',
......
......@@ -10,14 +10,11 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item label="检测类型:" class="search-item" prop="type">
<Input name="category" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="牌号:">
<Input name="name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-btn">
<Button type="primary" @click="_formSearch">
......@@ -25,10 +22,10 @@
</Button>
</Form-item>
</Form>
<Col>
<Col />
<!--<btn-list :msg="btn" :open="searchOpen" show-search-btn="true" @on-result-change="_btnClick" />-->
</Col>
<Col>
<Col />
<element-table
ref="pageTable"
:page-columns="pageColumns"
......@@ -74,39 +71,42 @@ export default {
return {
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 160,
width: 120,
fixed: 'left',
align: 'center'
},
{ title: '牌号', key: 'name', width: 120, align: 'center' },
{ title: '价类', key: 'category', width: 120, align: 'center' },
{
title: '制备类型',
key: 'type',
title: '卷制标准版本号',
key: 'standard',
width: 160,
align: 'center'
},
{ title: '物料名称', key: 'name', width: 160, align: 'center' },
{ title: '物料编号', key: 'code', width: 160, align: 'center' },
{ title: '检测类型', key: 'category', width: 160, align: 'center' },
{ title: '状态', key: 'status', width: 160, align: 'center' },
{ title: '处理人', key: 'handler', width: 160, align: 'center' },
{ title: '机台', key: 'samplePoint', width: 110, align: 'center' },
{
title: '处理时间',
key: 'handleTime',
width: 160,
align: 'center',
datetime: true
title: '留样数量',
key: 'quantity',
width: 120,
align: 'center'
},
{
title: '制备质量',
key: 'quantity',
title: '单位',
key: 'unit',
width: 160,
align: 'center'
},
// { title: '单位', key: 'unit', width: 160, align: 'center' },
{
title: '存储期限',
title: '开始留样时间',
key: 'ctime',
width: 120,
data: true,
align: 'center'
},
{
title: '存储期限(天)',
key: 'timeLimit',
width: 160,
align: 'center'
......@@ -115,6 +115,14 @@ export default {
title: '存储位置',
key: 'position',
align: 'center'
},
{ title: '处理人', key: 'handler', width: 160, align: 'center' },
{
title: '处理时间',
key: 'handleTime',
width: 160,
align: 'center',
datetime: true
}
],
getPage: {},
......
......@@ -183,7 +183,7 @@ export default {
iconMsg: [{ id: '', type: 'pt-a-trash', name: '删除' }],
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 120,
fixed: 'left',
......
......@@ -7,8 +7,8 @@
<Row>
<Form id="preparation-detail-form" onsubmit="return false" class="search-form" inline :label-width="70">
<label class="label-sign" />
<!-- <Form-item class="search-item" label="样本号:">-->
<!-- <Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />-->
<!-- <Form-item class="search-item" label="样本号:">-->
<!-- <Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />-->
<!-- </Form-item>-->
<!-- <Form-item class="search-item" label="物料名称:">-->
<!-- <Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />-->
......@@ -78,7 +78,7 @@ export default {
btn: [{ id: '', type: 'primary', name: '打印标签' }],
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -27,7 +27,7 @@ table {
<table class="tableClass">
<tbody>
<tr>
<th>样本号</th>
<th>样本</th>
<td>{{formObj.sampleCode?formObj.sampleCode:''}}</td>
<th>检测类型</th>
<td>{{formObj.category?formObj.category:''}}</td>
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -90,7 +90,7 @@ export default {
btn: [{ id: '', type: 'primary', name: '制备' }],
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 150,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -119,7 +119,7 @@ export default {
return {
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,17 +10,17 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本编号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="牌号:">
<Input name="name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="请检时间:">
<Form-item class="search-item" label="生产日期:">
<Date-picker
ref="pcTime"
type="datetimerange"
placeholder="请检时间"
placeholder="生产日期"
style="width: 100%;"
transfer
:editable="false"
......@@ -32,24 +32,6 @@
<!--<Form-item class="search-item" label="报检单位:">-->
<!--<Input name="declarationInspection" placeholder="请输入报检单位" clearable @on-enter="_formSearch" />-->
<!--</Form-item>-->
<Form-item class="search-item" label="送样人:">
<Input name="sender" placeholder="请输入送样人" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="送样时间:">
<Date-picker
ref="sendTime"
type="datetimerange"
placeholder="送样人接收时间"
style="width: 100%;"
transfer
:editable="false"
@on-change="_receiveTimeChange"
/>
<input type="hidden" name="sendTimeBegin">
<input type="hidden" name="sendTimeEnd">
</Form-item>
<Form-item class="search-item" label="接收时间:">
<Date-picker
......@@ -70,10 +52,10 @@
</Button>
</Form-item>
</Form>
<Col>
<Col />
<!--<btn-list :msg="btn" :open="searchOpen" show-search-btn="true" @on-result-change="_btnClick" />-->
</Col>
<Col>
<Col />
<element-table
ref="pageTable"
:page-columns="pageColumns"
......@@ -95,7 +77,7 @@
>
<template slot-scope="scope" @click.stop="_handleIndex(scope)">
<span v-if="item.datetime">
{{ scope.row[item.key]?$dateformat(scope.row[item.key],'yyyy-mm-dd HH:MM:ss'):'' }}
{{ scope.row[item.key]?$dateformat(scope.row[item.key],'yyyy-mm-dd'):'' }}
</span>
<span v-else-if="item.key==='status'">
{{ scope.row[item.key]?scope.row[item.key].display:'' }}
......@@ -140,32 +122,42 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
width: 140,
fixed: 'left',
align: 'center'
},
{ title: '物品名称', key: 'name', width: 200, align: 'center' },
{ title: '牌号', key: 'name', width: 120, align: 'center' },
{
title: '卷制标准版本号',
key: 'standard',
width: 140,
align: 'center'
},
{
title: '接收人',
key: 'receiver',
align: 'center'
align: 'center',
width: 120
},
{
title: '接收时间',
key: 'receiveTime',
align: 'center',
datetime: true
datetime: true,
width: 150
},
{ title: '物品编号', key: 'code', width: 200, align: 'center' },
{ title: '检测类型', key: 'category', width: 150, align: 'center' },
{ title: '价类', key: 'category', width: 140, align: 'center' },
{ title: '机台', key: 'samplePoint', width: 140, align: 'center' },
{ title: '班别', key: 'classBan', width: 130, align: 'center' },
{
title: '请检时间',
title: '生产日期',
key: 'pcTime',
align: 'center',
datetime: true
datetime: true,
width: 150
}
],
sendTime: '',
......@@ -205,7 +197,6 @@ export default {
$(this).val('')
})
this.$refs.pcTime.handleClear()
this.$refs.sendTime.handleClear()
this.$refs.receiveTime.handleClear()
},
_btnClick(msg, data) {
......@@ -268,10 +259,6 @@ export default {
$('input[name="pcTimeBegin"]').val(data[0])
$('input[name="pcTimeEnd"]').val(data[1])
},
_receiveTimeChange(data) {
$('input[name="sendTimeBegin"]').val(data[0])
$('input[name="sendTimeEnd"]').val(data[1])
},
_labTimeChange(data) {
$('input[name="receiveTimeBegin"]').val(data[0])
$('input[name="receiveTimeEnd"]').val(data[1])
......
......@@ -10,17 +10,17 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="牌号:">
<Input name="name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="报检时间:">
<Form-item class="search-item" label="生产日期:">
<Date-picker
ref="sampleTime"
type="datetimerange"
placeholder="报检时间"
type="date"
placeholder="生产日期"
style="width: 100%;"
:editable="false"
transfer
......@@ -114,35 +114,35 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
width: 140,
fixed: 'left',
align: 'center'
},
{ title: '物料名称', key: 'name', width: 200, align: 'center' },
{ title: '牌号', key: 'name', width: 130, align: 'center' },
{
title: '卷制标准版本号',
key: 'standard',
width: 180,
align: 'center'
},
{ title: '机台', key: 'samplePoint', width: 120, align: 'center' },
{ title: '班别', key: 'classBan', width: 120, align: 'center' },
{
title: '状态',
key: 'progress',
width: 200,
width: 120,
status: true,
align: 'center'
},
{ title: '价类', key: 'category', width: 120, align: 'center' },
{
title: '送样人接收时间',
key: 'sendTime',
align: 'center',
datetime: true
},
{ title: '检测类型', key: 'category', width: 200, align: 'center' },
{ title: '物品编号', key: 'code', width: 200, align: 'center' },
{
title: '请检时间',
title: '生产日期',
key: 'pcTime',
align: 'center',
datetime: true
},
{ title: '送样人', key: 'sender', align: 'center' }
}
],
btn: [
{ id: '', type: 'primary', name: '扫码接收' },
......
......@@ -6,7 +6,7 @@
</p>
<div>
<Form :label-width="80" onsubmit="return false">
<Form-item label="样本号" prop="num">
<Form-item label="样本号" prop="num">
<Input
ref="inputFocus"
v-model="num"
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -125,7 +125,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -113,7 +113,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -79,7 +79,7 @@ export default {
// { type: 'success', id: '', name: '自动分配' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '物品名称', key: 'name', width: 100 },
{ title: '物品编号', key: 'code', width: 100 },
{ title: '请检时间', key: 'pcTime', dateTime: true, width: 140 }
......
......@@ -83,7 +83,7 @@ export default {
btn: [{ type: 'success', id: '', name: '按人分配' }],
pageColumns: [
{ title: '检测项目', key: 'name', width: 150 },
{ title: '样本号', key: 'sampleCode', width: 150 },
{ title: '样本号', key: 'sampleCode', width: 150 },
{ title: '检测人', key: 'testers', width: 150 },
{ title: '业务类型', key: 'category', width: 150 },
{ title: '检测依据', key: 'code', width: 150 },
......
......@@ -77,7 +77,7 @@ export default {
searchOpen: true,
btn: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '物品名称', key: 'name', width: 100 },
{ title: '物品编号', key: 'code', width: 100 },
{ title: '请检时间', key: 'pcTime', dateTime: true, width: 140 }
......
......@@ -83,7 +83,7 @@ export default {
btn: [{ type: 'success', id: '', name: '按人分配' }],
pageColumns: [
{ title: '检测项目', key: 'name' },
{ title: '样本号', key: 'sampleCode' },
{ title: '样本号', key: 'sampleCode' },
{ title: '业务类型', key: 'category' },
{ title: '检测依据', key: 'code' },
{ title: '检测依据名称', key: 'standardName' },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="物品名称:">
<Input v-model="formObj.name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="牌号:">
<Input v-model="formObj.name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="样品编号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样品编号" clearable @on-enter="_formSearch" />
......@@ -83,10 +83,10 @@ export default {
// { type: 'success', id: '', name: '自动分配' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '物品名称', key: 'name', width: 100 },
{ title: '物品编号', key: 'code', width: 100 },
{ title: '请检时间', key: 'pcTime', dateTime: true, width: 140 }
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '牌号', key: 'name', width: 100 },
{ title: '机台', key: 'samplePoint', width: 100 },
{ title: '生产日期', key: 'pcTime', dateTime: true, width: 140 }
],
getPage: {},
iconMsg: [
......
......@@ -93,7 +93,7 @@ export default {
btn: [{ type: 'success', id: '', name: '按人分配' }],
pageColumns: [
{ title: '检测项目', key: 'name' },
{ title: '样本号', key: 'sampleCode' },
{ title: '样本号', key: 'sampleCode' },
{ title: '业务类型', key: 'category' },
{ title: '检测值', key: 'testValue', width: 120 },
{ title: '缺陷', key: 'defects', width: 120 },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="检测项目:">
<Input v-model="formObj.name" placeholder="请输入检测项目" clearable @on-enter="_formSearch" />
......@@ -118,7 +118,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '检测项目', key: 'name', width: 120 },
{ title: '状态', key: 'status', width: 120, status: true },
{ title: '检测结果', key: 'testValue', width: 120 },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="物品名称:">
<Input v-model="formObj.name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="牌号:">
<Input v-model="formObj.name" placeholder="请输入牌号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="样品编号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样品编号" clearable @on-enter="_formSearch" />
......@@ -83,10 +83,10 @@ export default {
// { type: 'success', id: '', name: '自动分配' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '物品名称', key: 'name', width: 100 },
{ title: '物品编号', key: 'code', width: 100 },
{ title: '请检时间', key: 'pcTime', dateTime: true, width: 140 }
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '牌号', key: 'name', width: 100 },
{ title: '机台', key: 'samplePoint', width: 100 },
{ title: '生产日期', key: 'pcTime', dateTime: true, width: 140 }
],
getPage: {},
iconMsg: [
......
......@@ -96,7 +96,7 @@ export default {
btn: [{ type: 'success', id: '', name: '按人分配' }],
pageColumns: [
{ title: '检测项目', key: 'name', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '检测值', key: 'testValue', width: 120 },
{ title: '缺陷', key: 'defects', width: 120 },
{ title: '业务类型', key: 'category', width: 120 },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="检测项目:">
<Input v-model="formObj.name" placeholder="请输入检测项目" clearable @on-enter="_formSearch" />
......@@ -120,7 +120,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '检测项目', key: 'name', width: 120 },
{ title: '状态', key: 'status', width: 120, status: true },
{ title: '检测结果', key: 'testValue', width: 120 },
......@@ -134,7 +134,7 @@ export default {
},
{ title: '是否填写原始记录', key: 'recordWriiten', width: 160 },
{ title: '仪器设备', key: 'equipName', width: 160 },
{ title: '检测类型', key: 'category', width: 150 },
{ title: '价类', key: 'category', width: 150 },
{ title: '检测依据', key: 'standardCode', width: 160 },
{ title: '检测依据名称', key: 'standardName', width: 200 },
{ title: '检测科室', key: 'groupName', width: 200 },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="检测项目:">
<Input v-model="formObj.name" placeholder="请输入检测项目" clearable @on-enter="_formSearch" />
......@@ -96,7 +96,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '检测项目', key: 'name', width: 120 },
{ title: '状态', key: 'status', width: 120, status: true },
{ title: '检测结果', key: 'testValue', width: 120 },
......
......@@ -6,9 +6,9 @@
<el-tab-pane label="数据录入" name="entry">
<dataEntry ref="entryTabs" />
</el-tab-pane>
<el-tab-pane label="待检任务" name="wait">
<taskWait ref="waitTabs" />
</el-tab-pane>
<!-- <el-tab-pane label="待检任务" name="wait">-->
<!-- <taskWait ref="waitTabs" />-->
<!-- </el-tab-pane>-->
<el-tab-pane label="历史任务" name="his">
<taskHis ref="hisTabs" />
</el-tab-pane>
......@@ -18,11 +18,10 @@
</div>
</template>
<script>
import taskWait from './tabs/taskWait'
import dataEntry from './tabs/dataEntry'
import taskHis from './tabs/taskHis'
export default {
components: { dataEntry, taskWait, taskHis },
components: { dataEntry, taskHis },
data() {
return {
activeName: 'entry'
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.sampleName" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -107,8 +107,8 @@ export default {
selectIds: [],
selectData: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '物料名称', key: 'sampleName', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '牌号', key: 'sampleName', width: 120 },
{ title: '检测项目', key: 'name', width: 120 },
{
title: '状态',
......@@ -126,7 +126,7 @@ export default {
width: 140,
singleJudge: true
},
{ title: '检测类型', key: 'category', width: 150 },
{ title: '价类', key: 'category', width: 150 },
{ title: '检测依据', key: 'code', width: 160 },
{ title: '检测依据名称', key: 'standardName', width: 200 },
{ title: '检测科室', key: 'groupName', width: 120 },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -87,7 +87,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 200, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 200, fixed: 'left' },
{ title: '状态', key: 'status', width: 200, status: true },
{ title: '物品名称', key: 'name', width: 200 },
{ title: '物品编码', key: 'code', width: 200 },
......
......@@ -207,7 +207,7 @@ export default {
pageColumns: [
{ title: '检测项目', key: 'name', width: 120, fixed: true },
{ title: '状态', key: 'progress', width: 120, status: true },
{ title: '样本号', key: 'sampleCode', width: 150 },
{ title: '样本号', key: 'sampleCode', width: 150 },
{ title: '检测结果', key: 'testValue', width: 160 },
{ title: '单位', key: 'unit', width: 100 },
{ title: '是否系统判定', key: 'judged', width: 120, judged: true },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -98,7 +98,7 @@ export default {
],
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 160, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 160, fixed: 'left' },
{ title: '状态', key: 'progress', width: 140, status: true },
{ title: '点位名称', key: 'name', width: 140 },
{ title: '点位编码', key: 'code', width: 150 },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.sampleName" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -105,7 +105,7 @@ export default {
selectIds: [],
selectData: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '物料名称', key: 'sampleName', width: 120 },
{ title: '检测项目', key: 'name', width: 120 },
{
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -87,7 +87,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 200, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 200, fixed: 'left' },
{ title: '状态', key: 'status', width: 200, status: true },
{ title: '物品名称', key: 'name', width: 200 },
{ title: '物品编码', key: 'code', width: 200 },
......
......@@ -90,7 +90,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -96,7 +96,7 @@ export default {
{ type: 'primary', id: '', name: '驳回' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '状态', key: 'status', status: true, width: 120 },
{ title: '点位名称', key: 'name', width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,7 +100,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -90,7 +90,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -95,7 +95,7 @@ export default {
{ type: 'success', id: '', name: '提交' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '状态', key: 'status', status: true, width: 120 },
{ title: '点位名称', key: 'name', width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,7 +100,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
......@@ -131,7 +131,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -108,7 +108,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
......@@ -131,7 +131,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -108,7 +108,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -26,7 +26,7 @@
style="width: 100%"
:default-sort="{prop: 'date', order: 'descending'}"
>
<el-table-column prop="sampleCode" label="样本号" sortable />
<el-table-column prop="sampleCode" label="样本号" sortable />
<el-table-column prop="name" label="物料名称" sortable />
<el-table-column prop="reportSn" label="报告编号" sortable>
<template slot-scope="scope">
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物品名称:">
<Input name="name" placeholder="请输入物品名称" clearable @on-enter="_formSearch" />
......@@ -131,7 +131,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -10,8 +10,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input name="sampleNum" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input name="name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -117,7 +117,7 @@ export default {
name: '',
pageColumns: [
{
title: '样本号',
title: '样本号',
key: 'sampleCode',
width: 200,
fixed: 'left',
......
......@@ -79,7 +79,7 @@ export default {
// { type: 'success', id: '', name: '自动分配' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '物品名称', key: 'name', width: 100 },
{ title: '物品编号', key: 'code', width: 100 },
{ title: '请检时间', key: 'pcTime', dateTime: true, width: 140 }
......
......@@ -93,7 +93,7 @@ export default {
btn: [{ type: 'success', id: '', name: '按人分配' }],
pageColumns: [
{ title: '检测项目', key: 'name' },
{ title: '样本号', key: 'sampleCode' },
{ title: '样本号', key: 'sampleCode' },
{ title: '业务类型', key: 'category' },
{ title: '检测依据', key: 'code' },
{ title: '检测依据名称', key: 'standardName' },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="检测项目:">
<Input v-model="formObj.name" placeholder="请输入检测项目" clearable @on-enter="_formSearch" />
......@@ -118,7 +118,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '检测项目', key: 'name', width: 120 },
{ title: '状态', key: 'status', width: 120, status: true },
{ title: '检测结果', key: 'testValue', width: 120 },
......
......@@ -79,7 +79,7 @@ export default {
// { type: 'success', id: '', name: '自动分配' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '样本号', key: 'sampleCode', width: 120 },
{ title: '物品名称', key: 'name', width: 100 },
{ title: '物品编号', key: 'code', width: 100 },
{ title: '请检时间', key: 'pcTime', dateTime: true, width: 140 }
......
......@@ -93,7 +93,7 @@ export default {
btn: [{ type: 'success', id: '', name: '按人分配' }],
pageColumns: [
{ title: '检测项目', key: 'name' },
{ title: '样本号', key: 'sampleCode' },
{ title: '样本号', key: 'sampleCode' },
{ title: '业务类型', key: 'category' },
{ title: '检测依据', key: 'code' },
{ title: '检测依据名称', key: 'standardName' },
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="检测项目:">
<Input v-model="formObj.name" placeholder="请输入检测项目" clearable @on-enter="_formSearch" />
......@@ -120,7 +120,7 @@ export default {
},
selectIds: [],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: true },
{ title: '检测项目', key: 'name', width: 120 },
{ title: '状态', key: 'status', width: 120, status: true },
{ title: '检测结果', key: 'testValue', width: 120 },
......
......@@ -90,7 +90,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -99,7 +99,7 @@ export default {
{ type: '', id: '', name: '提交' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '状态', key: 'status', status: true, width: 120 },
{ title: '点位名称', key: 'name', width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,7 +100,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -90,7 +90,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -99,7 +99,7 @@ export default {
{ type: '', id: '', name: '提交' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '状态', key: 'status', status: true, width: 120 },
{ title: '点位名称', key: 'name', width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,7 +100,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -102,7 +102,7 @@ export default {
{ type: 'primary', id: '', name: '驳回' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '不合格项目数量', key: 'noItemNum', width: 140, type: true },
{ title: '状态', key: 'oosStatus', status: true, width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,7 +100,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -140,7 +140,7 @@ export default {
data() {
// const validateNumber = function(rule, value, callback) {
// if (!value) {
// return callback(new Error('样本号不能为空!'))
// return callback(new Error('样本号不能为空!'))
// } else if (!/^[^\u4e00-\u9fa5]+$/.test(value)) {
// return callback(new Error('不能包含中文!'))
// } else {
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -106,9 +106,9 @@ export default {
// { type: 'primary', id: '', name: '驳回' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{
title: '不合格样本号',
title: '不合格样本号',
key: 'recheckCode',
width: 150,
fixed: 'left'
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,9 +100,9 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{
title: '不合格样本号',
title: '不合格样本号',
key: 'recheckCode',
width: 150,
fixed: 'left'
......
......@@ -5,11 +5,11 @@
登记处理意见
</p>
<Form id="edit-form" ref="formObj" :model="formObj" :rules="ruleValidate" :label-width="110">
<Form-item label="样本号" prop="sampleCode">
<Form-item label="样本号" prop="sampleCode">
<Input
v-model="formObj.sampleCode"
name="sampleCode"
placeholder="请输入样本号"
placeholder="请输入样本号"
clearable
disabled
/>
......@@ -73,7 +73,7 @@ export default {
formObj: defVal,
ruleValidate: {
sampleCode: [
{ required: true, message: '样本号不能为空!', trigger: 'blur' }
{ required: true, message: '样本号不能为空!', trigger: 'blur' }
],
describable: [
{
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -102,7 +102,7 @@ export default {
{ type: '', id: '', name: '提交' }
],
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{ title: '不合格项目数量', key: 'noItemNum', width: 140, type: true },
{ title: '状态', key: 'oosProgress', status: true, width: 120 },
......
......@@ -12,8 +12,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......@@ -100,7 +100,7 @@ export default {
inspectionEnd: ''
},
pageColumns: [
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '样本号', key: 'sampleCode', width: 150, fixed: 'left' },
{ title: '检测类型', key: 'category', width: 120, type: true },
{
title: '状态',
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......
......@@ -11,8 +11,8 @@
class="search-form"
>
<label class="label-sign" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
<Form-item class="search-item" label="样本号:">
<Input v-model="formObj.sampleCode" placeholder="请输入样本号" clearable @on-enter="_formSearch" />
</Form-item>
<Form-item class="search-item" label="物料名称:">
<Input v-model="formObj.name" placeholder="请输入物料名称" clearable @on-enter="_formSearch" />
......
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