| | |
| | | :model="form" |
| | | label-width="300px" |
| | | label-position="top"> |
| | | <el-form-item label="请选择野纤包含那几个生丝标准:" prop="purchaseTypeList"> |
| | | <el-checkbox-group v-model="form.purchaseTypeList"> |
| | | <el-form-item label="请选择野纤包含那几个生丝标准:" prop="wildSilkList"> |
| | | <el-checkbox-group v-model="form.wildSilkList"> |
| | | <el-checkbox |
| | | v-for="item in silkSetList" |
| | | :label="item.id" |
| | | :label="item.value" |
| | | :key=item.id |
| | | >{{ item.value }}</el-checkbox |
| | | > |
| | |
| | | islook: false, |
| | | silkSetList:getDataByType('silkSet'), |
| | | form: { |
| | | purchaseTypeList:[1], |
| | | wildSilkList:['野纤'], |
| | | }, |
| | | rules: { |
| | | // 采购类型 |
| | | purchaseTypeList: [ |
| | | wildSilkList: [ |
| | | { required: true, message: "请选择", trigger: ["blur",'change'] }, |
| | | ], |
| | | }, |
| | |
| | | onSubmit() { |
| | | this.$refs.form.validate((valid) => { |
| | | if (valid) { |
| | | this.$emit('confirmValueSave',this.form,1) |
| | | this.shutdown() |
| | | this.$emit('confirmValueSave',this.form,9) |
| | | } |
| | | }); |
| | | }, |