Commit 0c62226b authored by renjintao's avatar renjintao

工艺规程相关

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