From 64fa2c33cd645e86d4e2a8c34c7881ea4aa678cf Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 17 六月 2025 18:33:37 +0800
Subject: [PATCH] 代码初始化

---
 admin/src/components/business/OperaCategoryDcaProblemWindow.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/admin/src/components/business/OperaCategoryDcaProblemWindow.vue b/admin/src/components/business/OperaCategoryDcaProblemWindow.vue
index 537ad98..e2002e3 100644
--- a/admin/src/components/business/OperaCategoryDcaProblemWindow.vue
+++ b/admin/src/components/business/OperaCategoryDcaProblemWindow.vue
@@ -29,7 +29,7 @@
         </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/>
@@ -125,7 +125,7 @@
     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,
@@ -142,6 +142,7 @@
       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) {

--
Gitblit v1.9.3