瀏覽代碼

bug修复

chenrui 3 年之前
父節點
當前提交
83f2466c86
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/purchasingManagement/purchaseOrder/list.vue

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

@@ -111,9 +111,9 @@
           <span v-else>{{ record.purchaseBillNo }}</span>
         </template>
         <!-- 财务状态 -->
-        <template slot="financialStatus" slot-scope="text, record">
+        <!-- <template slot="financialStatus" slot-scope="text, record">
           <span>{{ record.billStatus=='FINISH'&&record.financialStatusDictValue ? record.financialStatusDictValue : '--' }}</span>
-        </template>
+        </template> -->
         <!-- 操作 -->
         <template slot="action" slot-scope="text, record">
           <a-button
@@ -196,7 +196,7 @@ export default {
         { title: '审核金额', dataIndex: 'totalAuthAmount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '缺货数量', dataIndex: 'totalCancelQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '采购状态', dataIndex: 'billStatusDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '财务状态', dataIndex: 'financialStatusDictValue', scopedSlots: { customRender: 'financialStatus' }, width: '6%', align: 'center' },
+        { title: '财务状态', dataIndex: 'financialStatusDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象