Kaynağa Gözat

前端: 有效日期字段所在表格位置前移

baichengfei 5 yıl önce
ebeveyn
işleme
6090ba9bf5

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/oilcatalog/index.vue

@@ -48,7 +48,7 @@
           </el-form-item>
         </el-form>
       </div>
-      <el-table :data="entityList" border highlight-current-row stripe height="calc(100vh - 243px)" style="width: 100%" @sort-change="orderby" size="mini" v-loading="tableLoading">
+      <el-table :data="entityList" border highlight-current-row stripe height="calc(100vh - 243px)" style="width: 100%" @sort-change="orderby" size="mini" v-loading="tableLoading" :header-cell-style="{'text-align': 'center'}">
         <el-table-column label="操作" min-width="100px" align="center" fixed="right">
           <template slot-scope="scope">
             <el-button type="primary" size="mini" @click="editOilcatalog(scope.row)" plain>{{btnName}}</el-button>
@@ -71,7 +71,7 @@
         <el-table-column type="index" width="50" align="center" />
         <!--<el-table-column sortable min-width="80" align="center" show-overflow-tooltip prop="SupplierName" label="序号"></el-table-column>-->
         <el-table-column sortable width="200" align="center" show-overflow-tooltip prop="CompanyName" label="企业名称"></el-table-column>
-        <el-table-column sortable min-width="400" align="center" show-overflow-tooltip prop="Business" label="业务范围"></el-table-column>
+        <el-table-column sortable min-width="400" align="left" prop="Business" label="业务范围"></el-table-column>
         <el-table-column sortable width="175" align="center" show-overflow-tooltip label="有效期起止">
           <template slot-scope="scope">
             {{(jstimehandle(scope.row.ValidityFrom))}}--{{(jstimehandle(scope.row.ValidityTo))}}

+ 6 - 7
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierstore/basislist.vue

@@ -411,7 +411,12 @@ import certApi from '@/api/oilsupplier/suppliercert'
             width: 200,
             sort: true
           },
-
+          {
+            prop: 'ApplyTime',
+            label: '有效期',
+            width: 110,
+            sort: true
+          },
           /* {
            prop: "OilCertificateNo",
            label: '中石油供应商证书号',
@@ -705,12 +710,6 @@ import certApi from '@/api/oilsupplier/suppliercert'
             width: 110,
             sort: true
           },
-          {
-            prop: 'ApplyTime',
-            label: '有效期',
-            width: 110,
-            sort: true
-          },
 
           // {
           //   prop: 'QQ',

+ 6 - 6
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierstore/goodslist.vue

@@ -430,6 +430,12 @@
             width: 200,
             sort: true
           },
+          {
+            prop: 'ApplyTime',
+            label: '有效期',
+            width: 110,
+            sort: true
+          },
           {
             prop: 'CommercialNo',
             label: '工商注册号',
@@ -538,12 +544,6 @@
             width: 110,
             sort: true
           },
-          {
-            prop: 'ApplyTime',
-            label: '有效期',
-            width: 110,
-            sort: true
-          },
 
           // {
           //   prop: 'QQ',

+ 6 - 7
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierstore/index.vue

@@ -402,7 +402,12 @@
             width: 200,
             sort: true
           },
-
+          {
+            prop: 'ApplyTime',
+            label: '有效期',
+            width: 110,
+            sort: true
+          },
           /* {
            prop: "OilCertificateNo",
            label: '中石油供应商证书号',
@@ -696,12 +701,6 @@
             width: 110,
             sort: true
           },
-          {
-            prop: 'ApplyTime',
-            label: '有效期',
-            width: 110,
-            sort: true
-          },
 
           // {
           //   prop: 'QQ',

+ 6 - 7
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierstore/techlist.vue

@@ -412,7 +412,12 @@ import certApi from '@/api/oilsupplier/suppliercert'
             width: 200,
             sort: true
           },
-
+          {
+            prop: 'ApplyTime',
+            label: '有效期',
+            width: 110,
+            sort: true
+          },
           /* {
             prop: "OilCertificateNo",
             label: '中石油供应商证书号',
@@ -706,12 +711,6 @@ import certApi from '@/api/oilsupplier/suppliercert'
             width: 110,
             sort: true
           },
-          {
-            prop: 'ApplyTime',
-            label: '有效期',
-            width: 110,
-            sort: true
-          },
 
           // {
           //   prop: "QQ",

+ 3 - 3
src/dashoo.cn/frontend_web/src/pages/select/companyselect/index.vue

@@ -142,6 +142,9 @@
             <el-link type="primary" size="mini" @click="openCompanyInfo(scope.row)">{{scope.row.SupplierName}}</el-link>
           </template>
         </el-table-column>
+        <el-table-column label="有效日期" width="120px" prop="ApplyTime" align="center">
+          <template slot-scope="scope">{{ jstimehandle(scope.row.ApplyTime) }}</template>
+        </el-table-column>
         <el-table-column label="准入类别" prop="SupplierTypeCode" align="center">
           <template slot-scope="scope">
               {{transferStr(scope.row.SupplierTypeCode)}}
@@ -153,9 +156,6 @@
         <!--<el-table-column label="最后一次年审" width="100px" prop="AuditDate" align="center">-->
           <!--<template slot-scope="scope">{{ jstimehandle(scope.row.AuditDate) }}</template>-->
         <!--</el-table-column>-->
-        <el-table-column label="有效日期" width="120px" prop="ApplyTime" align="center">
-          <template slot-scope="scope">{{ jstimehandle(scope.row.ApplyTime) }}</template>
-        </el-table-column>
         <el-table-column label="企业曾用名" width="280px" prop="OldSupplierName" align="center"></el-table-column>
         <el-table-column label="推荐单位" width="280px" prop="CheckUnitName" align="center"></el-table-column>
         <el-table-column label="专业处室审核" width="280px" prop="FullName" align="center"></el-table-column>