فهرست منبع

‘是否云工厂推送字段’

jbb 2 سال پیش
والد
کامیت
146153ac22
2فایلهای تغییر یافته به همراه13 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/packing-list/clothes-list.vue
  2. 12 0
      src/views/packing-list/fabric-list.vue

+ 1 - 1
src/views/packing-list/clothes-list.vue

@@ -163,7 +163,7 @@
         </span>
 
         <!-- 推送状态 -->
-        <span slot="pushState" slot-scope="text, record" :title ="record.cause">
+        <span slot="whetherCloudFactoryPush" slot-scope="text, record" :title ="record.cause">
            <span v-if="record.whetherCloudFactoryPush == '0'">否</span>
            <span v-if="record.whetherCloudFactoryPush == '1'">是</span>
         </span>

+ 12 - 0
src/views/packing-list/fabric-list.vue

@@ -91,6 +91,11 @@
           <a-tag color="green" v-if="record.pushState == '1'">推送成功</a-tag>
         </span>
 
+        <span slot="whetherCloudFactoryPush" slot-scope="text, record" :title ="record.cause">
+           <span v-if="record.whetherCloudFactoryPush == '0'">否</span>
+           <span v-if="record.whetherCloudFactoryPush == '1'">是</span>
+        </span>
+
          <!-- 单据状态 -->
         <span slot="state" slot-scope="text, record">
           <a-tag color="orange" v-if="record.status == '0'">已保存</a-tag>
@@ -251,6 +256,13 @@ export default {
           scopedSlots: { customRender: 'pushState' },
           width: 140,
           className: 'replacecolor'
+        },
+        {
+          title: '是否云工厂推送',
+          dataIndex: 'whetherCloudFactoryPush ',
+          width: 90,
+          scopedSlots: { customRender: 'whetherCloudFactoryPush' },
+          className: 'replacecolor'
         },
          {
           title: '状态',