ソースを参照

更改工艺版本为数字

qinhb 2 ヶ月 前
コミット
f1b1fe115d

+ 3 - 1
src/views/base/craftManagement/route/index.vue

@@ -831,7 +831,9 @@ option.value = Object.assign(option.value, {
       prop: "processRouteVersion",
       addDisplay: true,
       editDisplay: true,
-      value: "1.0",
+      type: "number",
+      min: 1,
+      value: 1.0,
       rules: [
         {
           required: true,

+ 4 - 0
src/views/base/craftManagement/routeCommon/index.vue

@@ -349,6 +349,9 @@ option.value = Object.assign(option.value, {
       label: "工艺版本",
       prop: "processRouteVersion",
       width: 180,
+      type: "number",
+      min: 1,
+      value: 1.0,
       addDisplay: true,
       rules: [
         {
@@ -358,6 +361,7 @@ option.value = Object.assign(option.value, {
         },
       ],
       overHidden: true,
+      precision: 1,
     },
     // 在产品那边绑定了工艺路线才是已绑定
     {