lilei 4 gadi atpakaļ
vecāks
revīzija
680e03ffa7

+ 3 - 1
src/views/purchasingManagement/purchaseOrder/list.vue

@@ -115,12 +115,14 @@
           size="small"
           type="link"
           class="button-warning"
+          v-if="record.billStatus == 'WAIT_PUT_WAREHOUSE'"
           @click="handleWarehouse(record)"
         >签收入库</a-button>
         <a-button
           size="small"
           type="link"
           class="button-error"
+          v-if="record.billStatus == 'WAIT_SUBMIT'||record.billStatus == 'AUDIT_REJECT'"
           @click="handleDel(record)"
         >删除</a-button>
       </template>
@@ -172,7 +174,7 @@ export default {
         { title: '采购金额(¥)', dataIndex: 'totalAmount', width: 115, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '业务状态', dataIndex: 'billStatusDictValue', width: 110, align: 'center' },
         { title: '财务状态', dataIndex: 'financialStatus', scopedSlots: { customRender: 'financialStatus' }, width: 100, align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: 350, align: 'center', fixed: 'right' }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 280, align: 'center', fixed: 'right' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {