浏览代码

feat(goodsDetail): 添加是否转生产计划状态显示

xieyong 3 天之前
父节点
当前提交
b92b90779c
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      src/views/beEntrusted/components/goodsDetail.vue

+ 11 - 0
src/views/beEntrusted/components/goodsDetail.vue

@@ -47,6 +47,10 @@
       <template v-slot:status="{ row }">
         <span>{{ row.status == 1 ? "已发货" : row.status == 2 ? "已收货" : "驳回"}}</span>
       </template>
+
+      <template v-slot:isTransferToProductionPlan="{ row }">
+        <span>{{ row.isTransferToProductionPlan == 1 ? "已转生产计划" : "未转生产计划"}}</span>
+      </template>
     </ele-pro-table>
 
     <template v-slot:footer v-if="type != 'detail' && type != 'send'">
@@ -236,6 +240,13 @@
             label: '状态',
             align: 'center',
             showOverflowTooltip: true
+          },
+          {
+            prop: 'isTransferToProductionPlan',
+            slot: 'isTransferToProductionPlan',
+            label: '是否转生产计划',
+            align: 'center',
+            showOverflowTooltip: true
           }
         ];
       }