Ver código fonte

审批页面增加业务类型字段

lichao 3 anos atrás
pai
commit
580399d940

+ 16 - 6
src/views/approveData/configuration/mainList.json

@@ -26,6 +26,7 @@
       "label": "业务类型",
       "prop": "processType",
       "type": "select",
+      "hide": true,
       "dicData": [
         {
           "label": "付费审批",
@@ -50,6 +51,14 @@
       "index": 1
     },
     {
+      "label": "业务类型",
+      "prop": "checkType",
+      "search": false,
+      "overHidden": true,
+      "width": 180,
+      "index": 2
+    },
+    {
       "label": "审核状态",
       "prop": "auditStatus",
       "type": "select",
@@ -62,7 +71,7 @@
       "searchValue": "S",
       "overHidden": true,
       "width": 200,
-      "index": 2
+      "index": 3
     },
     {
       "label": "往来单位",
@@ -70,14 +79,15 @@
       "search": true,
       "hide": true,
       "overHidden": true,
-      "width": 200
+      "width": 200,
+      "index": 4
     },
     {
       "label": "往来单位",
       "prop": "corpsName",
       "overHidden": true,
       "width": 200,
-      "index": 3
+      "index": 5
     },
     {
       "label": "业务编号",
@@ -85,14 +95,14 @@
       "search": true,
       "overHidden": true,
       "width": 180,
-      "index": 4
+      "index": 6
     },
     {
       "label": "申请人",
       "prop": "sendName",
       "overHidden": true,
       "search": true,
-      "index": 6,
+      "index": 7,
       "width": 150
     },
     {
@@ -105,7 +115,7 @@
       "searchRange": true,
       "search": true,
       "overHidden": true,
-      "index": 7,
+      "index": 8,
       "width":200
     }
   ]

+ 4 - 0
src/views/approveData/index.vue

@@ -20,6 +20,10 @@
           :configuration="configuration"
         ></select-component>
       </template>
+      <template slot-scope="scope" slot="checkType">
+        <span v-if="scope.row.checkType == 'ffsq'">付费申请</span>
+        <span v-else-if="scope.row.checkType == 'xsqh'">销售请核</span>
+      </template>
       <template slot="menuLeft">
         <el-button size="small"
                    type="success"