Browse Source

价格申报单新增,编辑,复制内附件字段位置调整

黄梓星 1 year ago
parent
commit
e249372b3a

+ 4 - 4
src/views/purchase/apply/add/columns.js

@@ -82,10 +82,6 @@ export default function useColumns() {
       attr: { is: "el-input", disabled: true, readonly: true },
     },
     {
-      item: { key: "file", title: "附件", span: 24 },
-      attr: { is: "el-file-upload" },
-    },
-    {
       item: { key: "sourceType", title: "来源单据类型" },
       attr: { is: "el-input", disabled: true, readonly: true },
     },
@@ -99,6 +95,10 @@ export default function useColumns() {
         value: "0",
       },
     },
+    {
+      item: { key: "file", title: "附件", span: 24 },
+      attr: { is: "el-file-upload" },
+    },
   ].map(({ item, attr }) => ({
     attr,
     item: { ...item, hidden: true, span: item.span || 6 },

+ 8 - 8
src/views/purchase/apply/copy/columns.js

@@ -78,14 +78,6 @@ export default function useColumns() {
       },
     },
     {
-      item: { key: "approveTime", title: "单据申请日期" },
-      attr: { is: "el-input", disabled: true, readonly: true },
-    },
-    {
-      item: { key: "file", title: "附件", span: 24 },
-      attr: { is: "el-file-upload" },
-    },
-    {
       item: { key: "sourceType", title: "来源单据类型" },
       attr: { is: "el-input", disabled: true, readonly: true },
     },
@@ -99,6 +91,14 @@ export default function useColumns() {
         value: "0",
       },
     },
+    {
+      item: { key: "approveTime", title: "单据申请日期" },
+      attr: { is: "el-input", disabled: true, readonly: true },
+    },
+    {
+      item: { key: "file", title: "附件", span: 24 },
+      attr: { is: "el-file-upload" },
+    },
   ].map(({ item, attr }) => ({
     attr,
     item: { ...item, hidden: true, span: item.span || 6 },

+ 4 - 4
src/views/purchase/apply/edit/columns.js

@@ -82,10 +82,6 @@ export default function useColumns() {
       attr: { is: "el-input", disabled: true, readonly: true },
     },
     {
-      item: { key: "file", title: "附件", span: 24 },
-      attr: { is: "el-file-upload" },
-    },
-    {
       item: { key: "sourceType", title: "来源单据类型" },
       attr: { is: "el-select", dictName: "price_source", disabled: true, readonly: true },
     },
@@ -99,6 +95,10 @@ export default function useColumns() {
         value: "0",
       },
     },
+    {
+      item: { key: "file", title: "附件", span: 24 },
+      attr: { is: "el-file-upload" },
+    },
   ].map(({ item, attr }) => ({
     attr,
     item: { ...item, hidden: true, span: item.span || 6 },