fenye
This commit is contained in:
parent
cde0f2b169
commit
02a27daf6f
|
|
@ -216,6 +216,7 @@
|
||||||
scope.row.field_key
|
scope.row.field_key
|
||||||
}}</template>
|
}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!--
|
||||||
<el-table-column label="上限值">
|
<el-table-column label="上限值">
|
||||||
<template slot-scope="scope">{{
|
<template slot-scope="scope">{{
|
||||||
scope.row.high_limit
|
scope.row.high_limit
|
||||||
|
|
@ -236,6 +237,7 @@
|
||||||
{{ lowoptionss_[scope.row.low_rule] }}</template
|
{{ lowoptionss_[scope.row.low_rule] }}</template
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
!-->
|
||||||
<el-table-column label="是否判定">
|
<el-table-column label="是否判定">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.need_judge == true">是</el-tag>
|
<el-tag v-if="scope.row.need_judge == true">是</el-tag>
|
||||||
|
|
@ -399,14 +401,10 @@
|
||||||
|
|
||||||
!-->
|
!-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-form-item label="表达式" v-if="field.need_judge == true">
|
<el-form-item label="表达式" v-if="field.need_judge == true">
|
||||||
<vue-json-editor
|
<el-input v-model="field.rule_expression" type="textarea"/>
|
||||||
:mode="'code'"
|
|
||||||
lange="zh"
|
|
||||||
v-model="field.rule_expression"
|
|
||||||
>
|
|
||||||
|
|
||||||
</vue-json-editor>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="排序" prop="sort">
|
<el-form-item label="排序" prop="sort">
|
||||||
|
|
|
||||||
|
|
@ -327,6 +327,13 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<pagination
|
||||||
|
v-show="fieldList.count > 0"
|
||||||
|
:total="fieldList.count"
|
||||||
|
:page.sync="listQueryfield.page"
|
||||||
|
:limit.sync="listQueryfield.page_size"
|
||||||
|
@pagination="fieldLists"
|
||||||
|
/>
|
||||||
<el-dialog :visible.sync="dialogVisible1" :title="dialogType1 === 'edit' ? '编辑表格字段' : '新增表格字段'">
|
<el-dialog :visible.sync="dialogVisible1" :title="dialogType1 === 'edit' ? '编辑表格字段' : '新增表格字段'">
|
||||||
<el-form ref="Form" :model="field" label-width="80px" label-position="right">
|
<el-form ref="Form" :model="field" label-width="80px" label-position="right">
|
||||||
<el-form-item label="字段类型" prop="field_type">
|
<el-form-item label="字段类型" prop="field_type">
|
||||||
|
|
@ -404,7 +411,9 @@
|
||||||
stepList:[],
|
stepList:[],
|
||||||
upHeaders: upHeaders(),
|
upHeaders: upHeaders(),
|
||||||
upUrl: upUrl(),
|
upUrl: upUrl(),
|
||||||
fileList:[],
|
fileList:{
|
||||||
|
count: 0,
|
||||||
|
},
|
||||||
listLoading: true,
|
listLoading: true,
|
||||||
dialogVisibles: false,
|
dialogVisibles: false,
|
||||||
dialogVisibleForm: false,
|
dialogVisibleForm: false,
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,18 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="半成品编号">
|
<el-table-column label="半成品编号">
|
||||||
<template slot-scope="scope">{{ scope.row.m_state_.number }}</template>
|
<template slot-scope="scope">{{ scope.row.number }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="检测状态">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{actstate_[scope.row.act_state]}}
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
<el-table-column label="所在子工序">
|
||||||
|
<template slot-scope="scope">{{ scope.row.p_state_.name }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column align="center" label="操作" width="220px">
|
<el-table-column align="center" label="操作" width="220px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-link
|
<el-link
|
||||||
|
|
@ -125,6 +134,14 @@ export default {
|
||||||
page: 1,
|
page: 1,
|
||||||
page_size: 20,
|
page_size: 20,
|
||||||
},
|
},
|
||||||
|
actstate_:{
|
||||||
|
|
||||||
|
|
||||||
|
1:'生产中',
|
||||||
|
2:'待检测',
|
||||||
|
3:'已合格',
|
||||||
|
4:'库存中',
|
||||||
|
},
|
||||||
options: [],
|
options: [],
|
||||||
listLoading: true,
|
listLoading: true,
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue