lilei hace 3 años
padre
commit
f88b198bcb

+ 10 - 0
src/components/index.less

@@ -132,6 +132,16 @@
     color: #c8c9cc;
   }
 }
+.link-bule{
+  color: #39f;
+  cursor: pointer;
+  &:hover, &:focus {
+    color: #52a6fb;
+  }
+  &:active, &.active {
+    color: #3d80bf;
+  }
+}
 // 查询条件样式
 .table-page-search-wrapper {
   .ant-form.ant-form-inline{

+ 1 - 1
src/views/allocationManagement/transferOut/list.vue

@@ -77,7 +77,7 @@
         bordered>
         <!-- 单号 -->
         <template slot="allocateNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('M_transferOut_detail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.allocateNo }}</a-button>
+          <span v-if="$hasPermissions('M_transferOut_detail')" class="link-bule" @click="handleDetail(record)">{{ record.allocateNo }}</span>
           <span v-else>{{ record.allocateNo }}</span>
         </template>
         <!-- 起止时间 -->

+ 1 - 1
src/views/allocationManagement/transferReturn/list.vue

@@ -77,7 +77,7 @@
         bordered>
         <!-- 单号 -->
         <template slot="allocateReturnNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('M_transferReturnDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.allocateReturnNo }}</a-button>
+          <span v-if="$hasPermissions('M_transferReturnDetail')" class="link-bule" @click="handleDetail(record)">{{ record.allocateReturnNo }}</span>
           <span v-else>{{ record.allocateReturnNo }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 1
src/views/expenseManagement/expenseReimbursement/list.vue

@@ -81,7 +81,7 @@
         bordered>
         <!-- 单号 -->
         <template slot="expenseAccountNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('B_eRdetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.expenseAccountNo }}</a-button>
+          <span v-if="$hasPermissions('B_eRdetail')" class="link-bule" @click="handleDetail(record)">{{ record.expenseAccountNo }}</span>
           <div v-else>{{ record.expenseAccountNo||'--' }}</div>
         </template>
         <!-- 总数量 -->

+ 1 - 1
src/views/financialManagement/allocateReturnConfirmation/list.vue

@@ -69,7 +69,7 @@
         bordered>
         <!-- 销退单号 -->
         <template slot="allocateReturnNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('M_allocateReturnConfirmationDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.allocateReturnNo }}</a-button>
+          <span v-if="$hasPermissions('M_allocateReturnConfirmationDetail')" class="link-bule" @click="handleDetail(record)">{{ record.allocateReturnNo }}</span>
           <span v-else>{{ record.allocateReturnNo }}</span>
         </template>
         <!-- 操作 -->

+ 2 - 4
src/views/financialManagement/financialCollection/list.vue

@@ -144,14 +144,12 @@
         bordered>
         <!-- 单号 -->
         <template slot="bizNo" slot-scope="text, record">
-          <!-- <span :class="$hasPermissions('B_salesDetail')?'active':'common'"v-if="$hasPermissions('B_salesDetail')" @click="handleDetail(record)">{{ record.bizNo }}</span> -->
-          <a-button v-if="$hasPermissions('B_salesDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.bizNo }}</a-button>
+          <span v-if="$hasPermissions('B_salesDetail')" class="link-bule" @click="handleDetail(record)">{{ record.bizNo }}</span>
           <span v-else>{{ record.bizNo }}</span>
         </template>
         <!-- 下推单号 -->
         <template slot="dispatchBillNo" slot-scope="text, record">
-          <!-- <span :class="$hasPermissions('B_dispatchDetail')?'active':'common'" v-if="$hasPermissions('B_dispatchDetail')" @click="handleBhDetail(record)">{{ record.dispatchBillNo || '--' }}</span> -->
-          <a-button v-if="$hasPermissions('B_dispatchDetail')" size="small" type="link" class="button-info" @click="handleBhDetail(record)">{{ record.dispatchBillNo }}</a-button>
+          <span v-if="$hasPermissions('B_dispatchDetail')" class="link-bule" @click="handleBhDetail(record)">{{ record.dispatchBillNo }}</span>
           <span v-else>{{ record.dispatchBillNo || '--' }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 2
src/views/financialManagement/inventoryConfirmation/list.vue

@@ -37,8 +37,7 @@
         bordered>
         <!-- 单号 -->
         <template slot="checkWarehouseNo" slot-scope="text, record">
-          <!-- <span :class="$hasPermissions('B_inventoryConfirmationDetail')?'active':'common'" @click="handleDetail(record)">{{ record.checkWarehouseNo }}</span> -->
-          <a-button v-if="$hasPermissions('B_inventoryConfirmationDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.checkWarehouseNo }}</a-button>
+          <span v-if="$hasPermissions('B_inventoryConfirmationDetail')" class="link-bule" @click="handleDetail(record)">{{ record.checkWarehouseNo }}</span>
           <span v-else>{{ record.checkWarehouseNo }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 2
src/views/financialManagement/returnConfirmation/list.vue

@@ -69,8 +69,7 @@
         bordered>
         <!-- 销退单号 -->
         <template slot="salesReturnBillNo" slot-scope="text, record">
-          <!-- <span :class="$hasPermissions('B_returnConfirmation_detail')?'active':'common'" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</span> -->
-          <a-button v-if="$hasPermissions('B_returnConfirmation_detail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</a-button>
+          <span v-if="$hasPermissions('B_returnConfirmation_detail')" class="link-bule" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</span>
           <span v-else>{{ record.salesReturnBillNo }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 1
src/views/financialManagement/warehousingConfirmation/list.vue

@@ -51,7 +51,7 @@
         bordered>
         <!-- 入库单号 -->
         <template slot="stockPutNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('B_warehousingConfirmationDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.stockPutNo }}</a-button>
+          <span v-if="$hasPermissions('B_warehousingConfirmationDetail')" class="link-bule" @click="handleDetail(record)">{{ record.stockPutNo }}</span>
           <span v-else>{{ record.stockPutNo }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 2
src/views/purchasingManagement/bulkWarehousingOrder/list.vue

@@ -68,8 +68,7 @@
         bordered>
         <!-- 入库单号 -->
         <template slot="sparePartsNo" slot-scope="text, record">
-          <!-- <span :class="$hasPermissions('B_sparePartsDetail')?'active':'common'" @click="handleDetail(record)">{{ record.sparePartsNo }}</span> -->
-          <a-button v-if="$hasPermissions('B_sparePartsDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.sparePartsNo }}</a-button>
+          <span v-if="$hasPermissions('B_sparePartsDetail')" class="link-bule" @click="handleDetail(record)">{{ record.sparePartsNo }}</span>
           <span v-else>{{ record.sparePartsNo }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 1
src/views/salesManagement/examineVerify/list.vue

@@ -102,7 +102,7 @@
         bordered>
         <!-- 下推单号 -->
         <template slot="dispatchBillNo" slot-scope="text, record">
-          <a-button size="small" type="link" class="button-info" v-if="$hasPermissions('B_dispatchDetail')" @click="handleDetail(record)">{{ record.dispatchBillNo }}</a-button>
+          <span class="link-bule" v-if="$hasPermissions('B_dispatchDetail')" @click="handleDetail(record)">{{ record.dispatchBillNo }}</span>
           <span v-else>{{ record.dispatchBillNo }}</span>
         </template>
         <!-- 操作 -->

+ 1 - 1
src/views/salesManagement/outboundOrder/list.vue

@@ -97,7 +97,7 @@
         bordered>
         <!-- 单号 -->
         <template slot="stockOutNo" slot-scope="text, record">
-          <a-button v-if="record.stockOutNo && detailPermissions(record)" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.stockOutNo }}</a-button>
+          <span v-if="record.stockOutNo && detailPermissions(record)" class="link-bule" @click="handleDetail(record)">{{ record.stockOutNo }}</span>
           <span v-else-if="record.stockOutNo && !detailPermissions(record)">{{ record.stockOutNo }}</span>
           <span v-else>--</span>
         </template>

+ 1 - 2
src/views/salesManagement/priceInquiry/list.vue

@@ -107,8 +107,7 @@
       </template>
       <!-- 产品编码 可点击查看详情 -->
       <template slot="detail" slot-scope="text, record">
-        <!-- <span style="color: #00aaff;cursor: pointer;" @click="handleDetail(record)">{{ record.code }}</span> -->
-        <a-button size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.code }}</a-button>
+        <span class="link-bule" @click="handleDetail(record)">{{ record.code }}</span>
       </template>
     </s-table>
     <!-- 查看车辆信息 -->

+ 2 - 4
src/views/salesManagement/pushOrderManagement/list.vue

@@ -87,14 +87,12 @@
         bordered>
         <!-- 销售单号 -->
         <template slot="salesBillNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('B_salesDetail')" size="small" type="link" class="button-info" @click="handleDetail(record,0)">{{ record.salesBillNo }}</a-button>
-          <!-- <span style="color: #ed1c24;cursor: pointer;" v-if="$hasPermissions('B_salesDetail')" @click="handleDetail(record,0)">{{ record.salesBillNo }}</span> -->
+          <span class="link-bule" v-if="$hasPermissions('B_salesDetail')" @click="handleDetail(record,0)">{{ record.salesBillNo }}</span>
           <span v-else>{{ record.salesBillNo }}</span>
         </template>
         <!-- 备货单号 -->
         <template slot="dispatchBillNo" slot-scope="text, record">
-          <a-button v-if="$hasPermissions('B_dispatchDetail')" size="small" type="link" class="button-info" @click="handleDetail(record,1)">{{ record.salesBillNo }}</a-button>
-          <!-- <span style="color: #ed1c24;cursor: pointer;" v-if="$hasPermissions('B_dispatchDetail')" @click="handleDetail(record,1)">{{ record.dispatchBillNo }}</span> -->
+          <span class="link-bule" v-if="$hasPermissions('B_dispatchDetail')" @click="handleDetail(record,1)">{{ record.dispatchBillNo }}</span>
           <span v-else>{{ record.dispatchBillNo }}</span>
         </template>
       </s-table>

+ 2 - 2
src/views/salesManagement/salesQuery/list.vue

@@ -144,9 +144,9 @@
         <template slot="salesBillNo" slot-scope="text, record">
           <div v-if="$hasPermissions('B_salesDetail')">
             <a-badge :count="'改'+record.changeTimes" :offset="[16,-13]" v-if="record.changeTimes>0" class="badge-con-t">
-              <a-button size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.salesBillNo }}</a-button>
+              <span class="link-bule" @click="handleDetail(record)">{{ record.salesBillNo }}</span>
             </a-badge>
-            <a-button v-else size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.salesBillNo }}</a-button>
+            <span v-else class="link-bule" @click="handleDetail(record)">{{ record.salesBillNo }}</span>
           </div>
           <div v-else>{{ record.salesBillNo }}</div>
         </template>

+ 3 - 5
src/views/salesManagement/salesReturn/list.vue

@@ -98,13 +98,11 @@
         <template slot="salesReturnBillNo" slot-scope="text, record">
           <div v-if="$hasPermissions('B_salesReturnDetail')">
             <a-badge :count="'改'+record.changeTimes" :offset="[16,-13]" v-if="record.changeTimes>0" class="badge-con-t">
-              <a-button size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</a-button>
-              <!-- <span style="color: #00aaff;cursor: pointer;" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</span> -->
+              <span class="link-bule" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</span>
             </a-badge>
-            <a-button v-else size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</a-button>
-            <!-- <span v-else style="color: #00aaff;cursor: pointer;" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</span> -->
+            <span v-else class="link-bule" @click="handleDetail(record)">{{ record.salesReturnBillNo }}</span>
           </div>
-          <div v-else>{{ record.salesBillNo }}</div>
+          <div v-else>{{ record.salesReturnBillNo }}</div>
         </template>
         <!-- 操作 -->
         <template slot="action" slot-scope="text, record">