jbb 2 年之前
父节点
当前提交
33582e45ef
共有 1 个文件被更改,包括 15 次插入8 次删除
  1. 15 8
      src/views/book/book-list.vue

+ 15 - 8
src/views/book/book-list.vue

@@ -109,6 +109,12 @@
           <a-tag color="orange" v-if="record.theDocumentsState == '0'">未提交</a-tag>
           <a-tag color="green" v-if="record.theDocumentsState == '1'">提交</a-tag>
         </span>
+
+        <!-- 推送状态 -->
+        <span slot="syStuta" slot-scope="text, record">
+          <a-tag color="orange" v-if="record.syStuta == '0'">未推送</a-tag>
+          <a-tag color="green" v-if="record.syStuta == '1'">已推送</a-tag>
+        </span>
         <!-- if  已提交 -->
         <!-- <span slot="documentStateSlot">
           <a-tag color="#2db7f5">已提交</a-tag>
@@ -136,6 +142,7 @@
              <a-menu slot="overlay" v-if="record.theDocumentsState == '1'">
               <!-- <a-menu-item><a @click="canaleSubmit(record)">取消提交</a></a-menu-item> -->
               <a-menu-item><a @click="edit(record,'2')">详情</a></a-menu-item>
+              <a-menu-item><a @click="pushU8(record)">推送u8</a></a-menu-item>
             </a-menu>
           </a-dropdown>
         </span>
@@ -253,14 +260,14 @@ export default {
         // { title: 'NOTIFY', dataIndex: 'nottfy', width: 150, className: 'replacecolor' },
         // { title: '目的港', dataIndex: 'destinationPort', width: 100, className: 'replacecolor' },
         // { title: '装运期限', dataIndex: 'latestDateOfShipment', width: 100, className: 'replacecolor' },
-        // {
-        //   title: '单据状态',
-        //   dataIndex: 'theDocumentsState',
-        //   width: 90,
-        //   scopedSlots: { customRender: 'documentStateSlot' },
-        //   fixed: 'right',
-        //   className: 'replacecolor'
-        // },
+        {
+          title: '推送状态',
+          dataIndex: 'syStuta',
+          width: 90,
+          scopedSlots: { customRender: 'syStuta' },
+          fixed: 'right',
+          className: 'replacecolor'
+        },
         {
           title: '操作',
           dataIndex: 'operation',