| | |
| | | :before-close="handleClose"> |
| | | <el-form :inline="true" label-width="20%" style="width: 100%;" :model="editConfig.infomitton" :rules="rules" |
| | | ref="ruleForm"> |
| | | <template v-if="editConfig.infomitton.TabsIndex === 0 || editConfig.infomitton.TabsIndex === 1"> |
| | | <template v-if="editConfig.infomitton.TabsIndex === 1 || editConfig.infomitton.TabsIndex === 2"> |
| | | <el-form-item prop="number" label="编码" style="width: 100%;"> |
| | | <el-input :disabled="editConfig.dialogTitle === '查看'" v-model="editConfig.infomitton.number" |
| | | <el-input :disabled="editConfig.dialogTitle != '新增'" v-model="editConfig.infomitton.number" |
| | | placeholder="请输入"></el-input> |
| | | </el-form-item> |
| | | <el-form-item prop="name" label="名称" style="width: 100%;"> |
| | |
| | | </el-form-item> |
| | | </template> |
| | | |
| | | <template v-if="editConfig.infomitton.TabsIndex === 2"> |
| | | <template v-if="editConfig.infomitton.TabsIndex === 3"> |
| | | <el-form-item prop="name" label="带号颜色" style="width: 100%;"> |
| | | <el-input :disabled="editConfig.dialogTitle === '查看'" v-model="editConfig.infomitton.name" |
| | | placeholder="请输入字母或数字,不允许有空格、中文"></el-input> |
| | | </el-form-item> |
| | | </template> |
| | | |
| | | <template v-if="editConfig.infomitton.TabsIndex === 3"> |
| | | <template v-if="editConfig.infomitton.TabsIndex === 4"> |
| | | <el-form-item prop="name" label="规格" style="width: 100%;"> |
| | | <el-input :disabled="editConfig.dialogTitle === '查看'" v-model="editConfig.infomitton.name" |
| | | placeholder="请输入字母或数字,不允许有空格、中文"></el-input> |
| | |
| | | }, |
| | | saveParams(type) { |
| | | let params = {} |
| | | if (type === 0 || type === 1) { |
| | | if (type === 1 || type === 2) { |
| | | params = { |
| | | dictType: this.editConfig.infomitton.TabsIndex, |
| | | name: this.editConfig.infomitton.name, |
| | | number: this.editConfig.infomitton.number, |
| | | remark: this.editConfig.infomitton.remark, |
| | | } |
| | | } else if (type === 2) { |
| | | } else if (type === 3) { |
| | | params = { |
| | | dictType: this.editConfig.infomitton.TabsIndex, |
| | | name: this.editConfig.infomitton.name, |
| | | remark: this.editConfig.infomitton.remark, |
| | | } |
| | | } else if (type === 3) { |
| | | } else if (type === 4) { |
| | | params = { |
| | | dictType: this.editConfig.infomitton.TabsIndex, |
| | | name: this.editConfig.infomitton.name, |