Browse Source

feat: 不可删除列移动位置

vian 1 year ago
parent
commit
28a3980013
1 changed files with 10 additions and 10 deletions
  1. 10 10
      web/maintain/bill_template_lib/js/bills_template_edit.js

+ 10 - 10
web/maintain/bill_template_lib/js/bills_template_edit.js

@@ -121,10 +121,10 @@ let TEMPLATE_BILLS_SETTING = {
       },
     },
     {
-      width: 200,
+      width: 40,
       readOnly: locked,
       head: {
-        titleNames: ["计价规则"],
+        titleNames: ["不可\n删除"],
         spanCols: [1],
         spanRows: [1],
         vAlign: [1],
@@ -132,9 +132,9 @@ let TEMPLATE_BILLS_SETTING = {
         font: ["Arial"],
       },
       data: {
-        field: "itemCharacterText",
+        field: "cantDelete",
         vAlign: 0,
-        hAlign: 3,
+        hAlign: 1,
         font: "Arail",
       },
     },
@@ -142,7 +142,7 @@ let TEMPLATE_BILLS_SETTING = {
       width: 200,
       readOnly: locked,
       head: {
-        titleNames: ["计价内容"],
+        titleNames: ["计价规则"],
         spanCols: [1],
         spanRows: [1],
         vAlign: [1],
@@ -150,17 +150,17 @@ let TEMPLATE_BILLS_SETTING = {
         font: ["Arial"],
       },
       data: {
-        field: "jobContentText",
+        field: "itemCharacterText",
         vAlign: 0,
         hAlign: 3,
         font: "Arail",
       },
     },
     {
-      width: 40,
+      width: 200,
       readOnly: locked,
       head: {
-        titleNames: ["不可\n删除"],
+        titleNames: ["计价内容"],
         spanCols: [1],
         spanRows: [1],
         vAlign: [1],
@@ -168,9 +168,9 @@ let TEMPLATE_BILLS_SETTING = {
         font: ["Arial"],
       },
       data: {
-        field: "cantDelete",
+        field: "jobContentText",
         vAlign: 0,
-        hAlign: 1,
+        hAlign: 3,
         font: "Arail",
       },
     },