Commit 13a642ab authored by 康振飞's avatar 康振飞

Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product

parents e5b654a7 cf7e453f
<template> <template>
<div class="new-equipment"> <div class="new-equipment">
<Modal v-model="modalShow" title="新增设备" width="1000" :mask-closable="false"> <Modal v-model="modalShow" :title="title" width="1000" :mask-closable="false">
<Form :model="formItem" :label-width="100" style="margin:10px;" :rules="ruleValidate"> <Form :model="formItem" :label-width="100" style="margin:10px;" :rules="ruleValidate">
<Row :gutter="16"> <Row :gutter="16">
<Col span="11"> <Col span="11">
...@@ -55,39 +55,19 @@ ...@@ -55,39 +55,19 @@
<inputFile ref="refqcFile" v-model="imgName" :parms="qcfileparms" files /> <inputFile ref="refqcFile" v-model="imgName" :parms="qcfileparms" files />
</FormItem> </FormItem>
</Col> </Col>
<!-- <Col span="11" offset="1"> <Col :span="12">
<FormItem label="是否关重" prop="isimportant"> <FormItem label="属性">
<Select v-model="isimportant"> <Checkbox v-model="property">排产资源</Checkbox>
<Option :value="1"></Option>
<Option :value="2"></Option>
</Select>
</FormItem> </FormItem>
</Col> --> </Col>
</Row> </Row>
<Row :gutter="16"> <Row :gutter="16">
<!-- <Col span="11"> <Col span="12">
<FormItem label="能力系数">
<InputNumber
:min="0"
v-model="formItem.capability_value"
size="large"
style="width:240px"
></InputNumber>
</FormItem>
</Col> -->
<Col span="11" offset="1">
<FormItem label="位置" prop="location"> <FormItem label="位置" prop="location">
<Input v-model="formItem.location" placeholder="请输入位置"></Input> <Input v-model="formItem.location" placeholder="请输入位置"></Input>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
<Row :gutter="16">
<Col :span="12">
<FormItem label="属性">
<Checkbox v-model="property">排产资源</Checkbox>
</FormItem>
</Col>
</Row>
</Form> </Form>
<div slot="footer"> <div slot="footer">
<!-- class="footers" --> <!-- class="footers" -->
...@@ -133,7 +113,7 @@ export default { ...@@ -133,7 +113,7 @@ export default {
shop_id: "", shop_id: "",
shop_name: "", shop_name: "",
// isimportant: 2, // isimportant: 2,
location: "", location: ""
// capability_value: 1 // capability_value: 1
}, },
property: true, property: true,
......
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