wangzhuo 1 vuosi sitten
vanhempi
commit
ca52d68950

+ 13 - 0
src/views/approveDataL/configuration/mainList.json

@@ -121,6 +121,19 @@
       "valueFormat": "yyyy-MM-dd HH:mm:ss",
       "unlinkPanels": true,
       "searchRange": true,
+      "overHidden": true,
+      "index": 8,
+      "width": 150
+    },
+    {
+      "label": "业务日期",
+      "prop": "billTimeList",
+      "type": "date",
+      "format": "yyyy-MM-dd HH:mm:ss",
+      "valueFormat": "yyyy-MM-dd HH:mm:ss",
+      "hide" :true,
+      "unlinkPanels": true,
+      "searchRange": true,
       "search": true,
       "overHidden": true,
       "index": 8,

+ 15 - 2
src/views/approveDataL/index.vue

@@ -5,7 +5,15 @@
       @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
       @refresh-change="refreshChange" @on-load="onLoad">
       <template slot="corpIdSearch">
-        <select-component v-model="search.corpId" :configuration="configuration"></select-component>
+<!--        <select-component v-model="search.corpId" :configuration="configuration"></select-component>-->
+        <el-select v-model="search.corpId" clearable placeholder="请选择">
+          <el-option
+            v-for="item in corpsList"
+            :key="item.id"
+            :label="item.cname"
+            :value="item.id">
+          </el-option>
+        </el-select>
       </template>
       <template slot-scope="scope" slot="checkType">
         <span v-if="scope.row.checkType == 'ffsq'">付费申请</span>
@@ -88,6 +96,7 @@ import checkSchedule from "@/components/check/checkSchedule";
 import check from "./check";
 import { getUserInfo } from "@/api/system/user";
 import { gainUser } from "@/api/basicData/customerInquiry";
+import {corpsDescListAll} from "../../api/tirePartsMall/salesManagement/saleOrder";
 let previousRouterName = "";
 let checkRefresh = "";
 export default {
@@ -97,6 +106,7 @@ export default {
   },
   data() {
     return {
+      corpsList: [],
       loading: false,
       form: {},
       search: {},
@@ -154,11 +164,14 @@ export default {
         this.findObject(this.option.column, "sendUserId").dicData =
           res.data.data;
       });
-      this.getWorkDicts("Approval_business_type").then(res => {
+      this.getWorkDicts("tire_audit").then(res => {
         this.findObject(this.option.column, "processType").dicData =
           res.data.data;
       });
     });
+    corpsDescListAll({corpType: "GYS"}).then(res => {
+      this.corpsList = res.data.data
+    })
   },
   mounted() {
     // option.height = window.innerHeight - 200 ;