Commit 0c62226b authored by renjintao's avatar renjintao

工艺规程相关

parent 7e2917fa
......@@ -4,7 +4,7 @@
<template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys">
<Input placeholder="请输入关键字更改单编号" v-model="easySearch.keys.value" />
<Input placeholder="请输入关键字更改单编号" v-model="easySearch.keys.value" v-width="260"/>
</FormItem>
<FormItem>
<Button type="primary" @click="search">查询</Button>
......
......@@ -85,12 +85,11 @@
<Dictionary
code="QC.checktype"
v-model="entity.checkType"
@on-change="checkChange"
type="radio"
></Dictionary>
</FormItem>
</Col>
<Col :span="12" v-if="raidoDis">
<Col :span="12" >
<FormItem :label="l('isphotograph')" prop="isphotograph">
<Dictionary code="Process.state" v-model="entity.isphotograph" type="radio"></Dictionary>
</FormItem>
......@@ -114,6 +113,11 @@
<FormItem :label="l('qualityTemplateName')" prop="qualityTemplateName">
<inputFile v-model="tempFile" :parms="parms" />
</FormItem>
</Col>
<Col :span="8">
<FormItem :label="l('status')" prop="status">
<Dictionary code="QC.status" v-model="entity.status" type="radio"></Dictionary>
</FormItem>
</Col>
<!--
<files ref="refFile" :parms="parms" files singleFile />
......@@ -188,13 +192,13 @@ export default {
routingDetailId: null,
routingStepId: 0,
checkContent: "",
checkType: null,
checkType: 1,
checkParams: "",
measurementUnit: "",
fillintype: null,
qualityTemplate: "",
isphotograph: null,
status: null,
isphotograph: 0,
status: 1,
extend: "",
remark: "",
productionRequirement: "",
......@@ -333,7 +337,7 @@ export default {
} else {
this.raidoDis = true;
if (this.entity.isphotograph == null) {
this.entity.isphotograph = 1;
this.entity.isphotograph = 0;
}
}
},
......
......@@ -27,12 +27,11 @@
<Dictionary
code="QC.checktype"
v-model="entity.checkType"
@on-change="checkChange"
type="radio"
></Dictionary>
</FormItem>
</Col>
<Col :span="12" v-if="raidoDis">
<Col :span="12" >
<FormItem :label="l('isphotograph')" prop="isphotograph">
<Dictionary code="Process.state" v-model="entity.isphotograph" type="radio"></Dictionary>
</FormItem>
......@@ -65,6 +64,11 @@
-->
</FormItem>
</Col>
<Col :span="8">
<FormItem :label="l('status')" prop="status">
<Dictionary code="QC.status" v-model="entity.status" type="radio"></Dictionary>
</FormItem>
</Col>
</Row>
<FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
......@@ -124,12 +128,7 @@ export default {
this.entity = r.result;
this.$refs.inputfile.newName = this.entity.qualityTemplateName;
this.$refs.inputfile.newPath = this.entity.qualityTemplate;
if (r.result.checkType == 1 || r.result.checkType == 2) {
this.raidoDis = false;
this.entity.isphotograph = null;
} else {
this.raidoDis = true;
}
});
},
downFile(path) {
......
......@@ -7,6 +7,7 @@
<Input
placeholder="请输入检测要求/标准指标"
v-model="easySearch.keys.value"
v-width="260"
/>
</FormItem>
<FormItem>
......
......@@ -7,6 +7,7 @@
<Input
placeholder="请输入关键字物料名称"
v-model="easySearch.keys.value"
v-width="260"
/>
</FormItem>
<FormItem>
......
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