Browse Source

页面 不知道好不好 救命

qinbai 3 years ago
parent
commit
b29159ec75
2 changed files with 137 additions and 192 deletions
  1. 34 104
      src/components/bill/config/application.json
  2. 103 88
      src/views/purchase/stockBill/config/mainList.json

+ 34 - 104
src/components/bill/config/application.json

@@ -3,157 +3,87 @@
   "tip": false,
   "simplePage": true,
   "searchShow": true,
+  "addBtn":false,
+  "editBtn":false,
+  "addRowBtn":false,
+  "cellBtn":false,
+  "cancelBtn":false,
+  "refreshBtn": false,
+  "searchMenuPosition": "right",
   "searchMenuSpan": 24,
-  "dialogWidth": "60%",
-  "align": "center",
   "searchSpan": 8,
-  "searchMenuPosition": "right",
+  "align": "center",
+  "delBtn":true,
+  "dialogWidth": "60%",
+  "tree": true,
   "border": true,
   "index": true,
-  "selection": false,
-  "viewBtn": false,
-  "editBtn": false,
-  "delBtn": false,
-  "menuWidth": 180,
+  "selection": true,
   "menu": false,
-  "dialogClickModal": false,
-  "searchLabelWidth": 120,
+  "menuWidth": 0,
   "searchIcon": true,
   "searchIndex": 2,
-  "addBtn":false,
-  "headerAlign": "center",
+  "dialogClickModal": false,
   "column": [
     {
       "label": "合同号",
       "prop": "accSysNo",
-      "search": true,
       "overHidden": true,
-      "width": 120,
+      "search": true,
+      "width": 150,
       "index": 2
     },
     {
       "label": "提单号",
       "prop": "srcBillNo",
-      "search": true,
       "overHidden": true,
-      "width": 120,
-      "index": 3
-    },
-    {
-      "label": "客户名称",
-      "prop": "corpId",
       "search": true,
-      "hide": true,
-      "overHidden": true
+      "width": 150,
+      "index": 2
     },
     {
       "label": "客户名称",
       "prop": "corpName",
       "overHidden": true,
-      "width": 200,
-      "index": 4
-    },
-    {
-      "label": "单据状态",
-      "prop": "billType",
-      "type": "select",
-      "search": true,
-      "overHidden": true,
-      "index": 1,
-      "width": 120,
-      "dicData": [
-        {
-          "label": "申请",
-          "value": "申请"
-        },
-        {
-          "label": "销售",
-          "value":"销售"
-        }
-      ]
-    },
-    {
-      "label": "费用名称",
-      "prop": "itemName",
-      "overHidden": true,
+      "hide": true,
+      "search": false,
       "width": 150,
-      "index": 5
+      "index": 2
     },
     {
       "label": "费用名称",
       "prop": "costType",
-      "search": true,
-      "hide": true,
-      "overHidden": true
-    },
-    {
-      "label": "数量",
-      "prop": "quantity",
       "overHidden": true,
-      "width": 120,
-      "index": 6
+      "hide": true,
+      "search": true
     },
     {
-      "label": "单价",
-      "prop": "price",
-      "width": 120,
+      "label": "费用名称",
+      "prop": "itemName",
       "overHidden": true,
-      "index": 7
+      "width": 150,
+      "index": 4
     },
     {
-      "label": "账单金额",
+      "label": "金额",
       "prop": "amount",
       "overHidden": true,
-      "width": 120,
-      "index": 8
+      "width": 150,
+      "index": 7
     },
     {
       "label": "结算金额",
       "prop": "settlementAmount",
-      "width": 120,
-      "overHidden": true,
-      "index": 9
-    },
-    {
-      "label": "币别",
-      "prop": "currency",
-      "width": 120,
-      "overHidden": true,
-      "index": 10
-    },
-    {
-      "label": "汇率",
-      "prop": "exchangeRate",
-      "width": 120,
-      "overHidden": true,
-      "index": 11
-    },
-    {
-      "label": "录入人",
-      "prop": "createUserName",
-      "overHidden": true,
-      "index": 12,
-      "width": 120
-    },
-    {
-      "label": "录入日期",
-      "prop": "createTime",
-      "type": "date",
-      "search": true,
-      "unlinkPanels": true,
-      "searchRange": true,
+      "width": 150,
       "overHidden": true,
-      "format": "yyyy-MM-dd",
-      "valueFormat": "yyyy-MM-dd",
-      "width": 200,
-      "index": 13
+      "index": 8
     },
     {
       "label": "备注",
       "prop": "remark",
       "overHidden": true,
-      "index": 14,
-      "width": 200
+      "index": 13,
+      "width": 250
     }
   ]
 }

+ 103 - 88
src/views/purchase/stockBill/config/mainList.json

@@ -1,139 +1,154 @@
 {
+  "headerAlign": "center",
+  "align": "center",
+  "border": true,
+  "index": true,
   "lazy": true,
   "tip": false,
-  "searchMenuPosition": "right",
-  "simplePage": true,
   "searchShow": true,
-  "dialogWidth": "60%",
-  "addBtn": false,
+  "searchMenuPosition": "right",
+  "searchMenuSpan": 6,
   "tree": true,
-  "border": true,
-  "index": true,
-  "selection": true,
+  "selection": false,
+  "addBtn": false,
   "viewBtn": false,
   "editBtn": false,
   "delBtn": false,
-  "menuWidth": 180,
-  "dialogClickModal": false,
-  "searchLabelWidth": 120,
-  "searchIcon": true,
-  "searchIndex": 2,
-  "searchSpan": 8,
+  "menuWidth": 150,
+  "searchLabelWidth": 100,
   "column": [
     {
-      "label": "大字(规格编码)",
-      "prop": "code",
+      "label": "状态",
+      "hide": true,
+      "prop": "status",
       "search": true,
-      "index": 1,
+      "width": 120,
+      "type": "select",
+      "dicData": [
+        {
+          "label": "已审核",
+          "value": "1"
+        },
+        {
+          "label": "正在结算",
+          "value": "4"
+        },
+        {
+          "label": "结算完成",
+          "value": "5"
+        }
+      ]
+    },
+    {
+      "label": "状态",
+      "prop": "strStatus",
+      "type": "select",
+      "overHidden": true,
+      "searchOrder": 5,
       "width": 120
     },
     {
-      "label": "名称",
-      "prop": "cname",
-      "search": true,
-      "index": 1,
-      "width": 100
+      "label": "客户名称",
+      "overHidden": true,
+      "prop": "cornName",
+      "width": 220
     },
     {
-      "label": "花纹",
-      "prop": "brandItem",
+      "label": "客户名称",
+      "hide": true,
       "search": true,
-      "index": 1,
-      "width": 100
+      "prop": "cornId",
+      "searchOrder": 1
     },
     {
-      "label": "产地",
-      "prop": "placeProduction",
-      "search": true,
-      "index": 1,
-      "width": 100
+      "label": "服务项目",
+      "prop": "pname",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "规格",
-      "prop": "typeno",
-      "search": true,
-      "index": 1,
-      "width": 100
+      "label": "任务部门",
+      "prop": "deptName",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "规格1",
-      "prop": "typenoOne",
-      "search": true,
-      "index": 1,
-      "width": 100
+      "label": "单价",
+      "prop": "price",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "品牌",
-      "prop": "brand",
-      "search": true,
-      "index": 1,
-      "width": 100
+      "label": "计价单位",
+      "prop": "unit",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "总库存",
-      "prop": "balanceQuantity",
-      "search": false,
-      "index": 1,
-      "width": 100,
-      "cell": true
+      "label": "数量",
+      "prop": "quantity",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "内贸锁定",
-      "prop": "lockingQuantity",
-      "search": false,
-      "index": 1,
-      "width": 100,
-      "cell": true
+      "label": "合计金额",
+      "prop": "amount",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "可用库存",
-      "prop": "surplusRouteQuantity",
-      "search": false,
-      "index": 1,
-      "width": 100,
-      "cell": true
+      "label": "频率",
+      "prop": "frequency",
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "供应商",
-      "prop": "corpName",
-      "search": false,
-      "index": 1,
-      "width": 100
+      "label": "提醒日",
+      "prop": "reminderDay",
+      "valueFormat": "timestamp",
+      "overHidden": true,
+      "type": "date",
+      "width": 150
     },
     {
-      "label": "创建日期",
+      "label": "需求开始日期",
+      "prop": "beginTime",
+      "format": "yyyy-MM-dd",
+      "valueFormat": "yyyy-MM-dd",
       "type": "date",
       "unlinkPanels": true,
       "searchRange": true,
-      "prop": "createTime",
       "search": true,
-      "index": 1,
-      "width": 100,
-      "format": "yyyy-MM-dd",
-      "valueFormat": "yyyy-MM-dd",
       "overHidden": true,
-      "pickerOptions": {}
+      "searchOrder": 3,
+      "width": 150,
+      "cell": true
     },
     {
-      "label": "创建人",
+      "label": "制单人",
       "prop": "createUserName",
-      "search": false,
-      "index": 1,
-      "width": 100
+      "disabled": true,
+      "overHidden": true,
+      "width": 120
     },
     {
-      "label": "更新日期",
-      "prop": "updateTime",
-      "search": false,
-      "index": 1,
-      "width": 100
+      "label": "制单日期",
+      "prop": "createTime",
+      "disabled": true,
+      "overHidden": true,
+      "width": 150
     },
     {
-      "label": "更新人",
+      "label": "最新修改人",
       "prop": "updateUserName",
-      "search": false,
-      "index": 1,
-      "width": 100
+      "width": 120,
+      "overHidden": true
+    },
+    {
+      "label": "最新修改时间",
+      "prop": "updateTime",
+      "width": 150,
+      "overHidden": true
     }
   ]
 }