xiaodai2017 2 years ago
parent
commit
1d385bffa0

+ 23 - 28
src/views/parameter/invoiceheader/config/content.config.ts

@@ -20,56 +20,51 @@ const columns = [
     width: 70,
     hide: ({ checkList }) => !checkList.includes("序号列")
   },
-
   {
-    label: "业务公司",
+    label: "企业纳税识别号",
+    prop: "invoice_code",
+    width: 150
+  },
+  {
+    label: "发票抬头",
     prop: "invoice_title",
-    width: 100
+    width: 160
+  },
+
+  {
+    label: "对公银行",
+    prop: "invoice_bank",
+    "min-width": 120
   },
   {
-    label: "企业法人",
-    prop: "invoice_people",
-    width: 100
+    label: "对公银行账户",
+    prop: "invoice_bankNo",
+    "min-width": 120
   },
   {
     label: "企业注册地址",
     prop: "invoice_addr",
-    width: 120
+    "min-width": 120
   },
   {
     label: "企业联系方式",
     prop: "invoice_mobile",
-    width: 120
-  },
-  {
-    label: "企业纳税识别号",
-    prop: "invoice_code",
-    width: 140
-  },
-  {
-    label: "对公银行",
-    prop: "invoice_bank",
-    width: 120
-  },
-  {
-    label: "对公银行账户",
-    prop: "invoice_bankNo",
-    width: 120
+    "min-width": 120
   },
   {
     label: "创建人",
     prop: "apply_name",
-    width: 80
+    width: 70
   },
   {
     label: "创建时间",
-    prop: "addTime",
-    formatter: ({ addtime }) => dayjs(addtime).format("YYYY-MM-DD HH:mm:ss")
+    prop: "addtime",
+    width: 145
   },
   {
     label: "操作",
     fixed: "right",
-    width: 120,
+    width: 80,
     slot: "operation"
   }
 ];
@@ -81,7 +76,7 @@ const contentConfig: ContentConfig = {
   apis: {
     httpList,
     httpAdd,
-    httpDelete,
+    // httpDelete,
     httpUpdate
   }
 };

+ 1 - 1
src/views/parameter/invoiceheader/config/search.config.ts

@@ -10,7 +10,7 @@ const searchFormConfig: FormConfig = {
     {
       field: "invoice_code",
       type: "input",
-      placeholder: "发票编号"
+      placeholder: "纳税识别号"
     }
   ]
 };