修改材料参加是否为公共材料
Showing
2 changed files
with
31 additions
and
2 deletions
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | <template> | 6 | <template> |
7 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" | 7 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" |
8 | :isFullscreen="false"> | 8 | :isFullscreen="false"> |
9 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="80px"> | 9 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> |
10 | <el-row> | 10 | <el-row> |
11 | <el-col :span="24"> | 11 | <el-col :span="24"> |
12 | <el-form-item label="材料类型" prop="cllx"> | 12 | <el-form-item label="材料类型" prop="cllx"> |
... | @@ -24,6 +24,20 @@ | ... | @@ -24,6 +24,20 @@ |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | </el-row> | 26 | </el-row> |
27 | <el-row :gutter="20"> | ||
28 | <el-col :span="24"> | ||
29 | <el-form-item | ||
30 | label="是否公共材料" | ||
31 | > | ||
32 | <el-radio-group | ||
33 | v-model="ruleForm.sfggcl" | ||
34 | > | ||
35 | <el-radio label="1">是</el-radio> | ||
36 | <el-radio label="0">否</el-radio> | ||
37 | </el-radio-group> | ||
38 | </el-form-item> | ||
39 | </el-col> | ||
40 | </el-row> | ||
27 | </el-form> | 41 | </el-form> |
28 | </dialogBox> | 42 | </dialogBox> |
29 | </template> | 43 | </template> |
... | @@ -40,6 +54,7 @@ | ... | @@ -40,6 +54,7 @@ |
40 | ruleForm: { | 54 | ruleForm: { |
41 | cllx: "", | 55 | cllx: "", |
42 | clmc: "", | 56 | clmc: "", |
57 | sfggcl:"0" | ||
43 | }, | 58 | }, |
44 | rules: { | 59 | rules: { |
45 | cllx: [ | 60 | cllx: [ | ... | ... |
... | @@ -19,11 +19,25 @@ | ... | @@ -19,11 +19,25 @@ |
19 | </el-row> | 19 | </el-row> |
20 | <el-row :gutter="20"> | 20 | <el-row :gutter="20"> |
21 | <el-col :span="24"> | 21 | <el-col :span="24"> |
22 | <el-form-item label="材料名称"> | 22 | <el-form-item label="材料名称1"> |
23 | <el-input v-model="ruleForm.clmc"></el-input> | 23 | <el-input v-model="ruleForm.clmc"></el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | </el-row> | 26 | </el-row> |
27 | <el-row :gutter="20"> | ||
28 | <el-col :span="8"> | ||
29 | <el-form-item | ||
30 | label="是否公共材料" | ||
31 | > | ||
32 | <el-radio-group | ||
33 | v-model="ruleForm.sfggcl" | ||
34 | > | ||
35 | <el-radio label="1">是</el-radio> | ||
36 | <el-radio label="0">否</el-radio> | ||
37 | </el-radio-group> | ||
38 | </el-form-item> | ||
39 | </el-col> | ||
40 | </el-row> | ||
27 | </el-form> | 41 | </el-form> |
28 | </dialogBox> | 42 | </dialogBox> |
29 | </template> | 43 | </template> | ... | ... |
-
Please register or sign in to post a comment