Browse Source

bug 修复

lilei 4 years ago
parent
commit
f09bd2c784
1 changed files with 6 additions and 9 deletions
  1. 6 9
      src/views/bulkManagement/bulkWarehousingOrder/list.vue

+ 6 - 9
src/views/bulkManagement/bulkWarehousingOrder/list.vue

@@ -75,7 +75,7 @@
     </div>
     <!-- 操作按钮 -->
     <div class="table-operator">
-      <a-button id="bulkWarehousingOrderList-add" type="primary" @click="handleAdd">新增</a-button>
+      <a-button id="bulkWarehousingOrderList-add" type="primary" class="button-error" @click="handleAdd">新增</a-button>
     </div>
     <!-- alert -->
     <a-alert type="info" showIcon style="margin-bottom:15px">
@@ -101,13 +101,10 @@
       </template>
       <!-- 操作 -->
       <template slot="action" slot-scope="text, record">
-        <a-button size="small" type="link" @click="handleEdit(record)" id="bulkWarehousingOrderList-edit-btn">编辑</a-button>
-        <a-divider type="vertical" style="margin: 0;" />
-        <a-button size="small" type="link" @click="handleDetail(record)" id="bulkWarehousingOrderList-detail-btn">详情</a-button>
-        <a-divider type="vertical" style="margin: 0;" />
-        <a-button size="small" type="link" @click="handleWarehouse(record)" id="bulkWarehousingOrderList-warehouse-btn">入库</a-button>
-        <a-divider type="vertical" style="margin: 0;" />
-        <a-button size="small" type="link" @click="handleDel(record)" id="bulkWarehousingOrderList-del-btn">删除</a-button>
+        <a-button size="small" type="primary" class="button-warning" @click="handleWarehouse(record)" id="bulkWarehousingOrderList-warehouse-btn">入库</a-button>
+        <a-button size="small" type="primary" class="button-info" @click="handleEdit(record)" id="bulkWarehousingOrderList-edit-btn">编辑</a-button>
+        <a-button size="small" type="primary" class="button-success" @click="handleDetail(record)" id="bulkWarehousingOrderList-detail-btn">详情</a-button>
+        <a-button size="small" type="primary" class="button-error" @click="handleDel(record)" id="bulkWarehousingOrderList-del-btn">删除</a-button>
       </template>
     </s-table>
     <!-- 选择基本信息弹框 -->
@@ -148,7 +145,7 @@ export default {
         { title: '总金额', dataIndex: 'totalAmount', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '业务状态', scopedSlots: { customRender: 'auditStatus' }, width: 110, align: 'center' },
         { title: '财务状态', scopedSlots: { customRender: 'financialStatus' }, width: 110, align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: 220, align: 'center', fixed: 'right' }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 260, align: 'center', fixed: 'right' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {