瀏覽代碼

托书节点增加状态列

jbb 2 年之前
父節點
當前提交
02213c2049
共有 1 個文件被更改,包括 10 次插入2 次删除
  1. 10 2
      src/views/book/book-list.vue

+ 10 - 2
src/views/book/book-list.vue

@@ -106,8 +106,8 @@
 
         <!-- 单据状态 -->
         <span slot="documentStateSlot" slot-scope="text, record">
-          <a-tag color="orange" v-if="record.theDocumentsState == '0'">仅保存</a-tag>
-          <a-tag color="green" v-if="record.theDocumentsState == '1'">提交</a-tag>
+          <a-tag color="orange" v-if="record.theDocumentsState == '0'">未提交</a-tag>
+          <a-tag color="green" v-if="record.theDocumentsState == '1'">提交</a-tag>
         </span>
         <!-- if  已提交 -->
         <!-- <span slot="documentStateSlot">
@@ -209,6 +209,14 @@ export default {
           // },
           className: 'replacecolor'
         },
+        {
+          title: '状态',
+          dataIndex: 'theDocumentsState',
+          scopedSlots: { customRender: 'documentStateSlot' },
+          width: 140,
+           ellipsis: true,
+          className: 'replacecolor'
+        },
         // { title: '收汇方式', dataIndex: 'exchangeEarningsValue', width: 120, className: 'replacecolor' },
         // {
         //   title: '收货人',