guarantee-lsq 1 year ago
parent
commit
b2db8c58b1

+ 1 - 1
src/views/check/checkjob/CheckJob.vue

@@ -403,7 +403,7 @@ export default {
         {
           title: '操作',
           key: 'action',
-          width: '150px',
+          width: '180px',
           fixed: 'right',
           align: 'center',
           scopedSlots: { customRender: 'action' },

+ 2 - 11
src/views/purchase/inventory-list/InventoryList.vue

@@ -2,16 +2,6 @@
 
   <a-card :bordered="false">
     <a-row :gutter="8">
-      <!--        <a-col :span="5">
-          <a-tree
-            @expand="onExpand"
-            :expandedKeys="expandedKeys"
-            :autoExpandParent="true"
-            @select="onSelect"
-            :selectedKeys="selectedKeys"
-            :treeData="spareTypeTreeData"
-          />
-        </a-col>-->
       <a-col :span="24">
         <div class="table-page-search-wrapper">
           <a-form layout="inline">
@@ -47,7 +37,6 @@
                 <span class="table-page-search-submitButtons">
                   <a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
                   <a-button style="margin-left: 8px" @click="resetSearchForm">重置</a-button>
-                  <a-button style="margin-left: 8px" @click="handleAdd">新增</a-button>
                 </span>
               </a-col>
             </a-row>
@@ -55,6 +44,8 @@
         </div>
 
         <div class="table-operator" style="margin-bottom: 8px;">
+<!--          <a-button style="margin-left: 8px" @click="handleAdd">新增</a-button>-->
+          <a-button style="margin-left: 8px" type="primary" icon="plus" @click="handleAdd">新增物料</a-button>
         </div>
 
         <s-table

+ 1 - 1
src/views/purchase/purchase-order-page/PurchaseOrderPage.vue

@@ -21,7 +21,7 @@
 
       <div class="table-operator" style="margin-bottom: 8px;">
         <a-button v-if="$auth('purchase-purchase-orders-add')" type="primary" icon="plus" @click="$refs.baseForm.base()">采购计划</a-button>
-        <a-button v-if="$auth('purchase-purchase-orders-add')" style="margin-left: 8px" type="primary" icon="plus" @click="$refs.addSpareForm.base()">新增物料</a-button>
+<!--        <a-button v-if="$auth('purchase-purchase-orders-add')" style="margin-left: 8px" type="primary" icon="plus" @click="$refs.addSpareForm.base()">新增物料</a-button>-->
         <!-- <a-dropdown v-action:edit v-if="selectedRowKeys.length > 0 && $auth('purchase-purchase-orders-del')">
           <a-menu slot="overlay">
             <a-popconfirm title="是否要删除所选数据?" @confirm="batchDelete()">