| | |
| | | </el-cascader>--> |
| | | </el-form-item> |
| | | <el-form-item label="排序码" prop="sortnum"> |
| | | <el-input v-model="form.sortnum" placeholder="请输入排序码(升序)" v-trim/> |
| | | <el-input v-model="form.sortnum" type="number" placeholder="请输入排序码(升序)" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input v-model="form.remark" type="textarea" placeholder="请输入备注" v-trim/> |
| | |
| | | open (title, target, categorys, categoryType, parentId) { |
| | | this.title = title |
| | | this.categorys = JSON.parse(JSON.stringify(categorys||[])); |
| | | console.log(this.categorys) |
| | | console.log(parentId) |
| | | this.visible = true |
| | | this.form = { |
| | | id: null, |
| | |
| | | if (target == null) { |
| | | this.$nextTick(() => { |
| | | this.$refs.form.resetFields() |
| | | this.form.parentId = parentId |
| | | this.form[this.configData['field.id']] = null |
| | | // this.form.categoryList = [] |
| | | /*if (parentIdPath && parentIdPath != null) { |