瀏覽代碼

fix: 修改sendGoods方法,添加detailType参数以支持更多功能

xieyong 1 月之前
父節點
當前提交
466f394269
共有 1 個文件被更改,包括 3 次插入 和 3 次删除
  1. 3 3
      src/views/produce/components/outsourcing/details.vue

+ 3 - 3
src/views/produce/components/outsourcing/details.vue

@@ -284,7 +284,7 @@
         <el-link
           type="primary"
           :underline="false"
-          @click="sendGoods(row, 'receipt')"
+          @click="sendGoods(row, 'receipt', 3)"
           v-if="row.approvalStatus == 2 && row.sendStatus == 3"
         >
           收货
@@ -896,8 +896,8 @@
         return data.length != 0 ? data[0].label : '';
       },
 
-      sendGoods(item, type) {
-        this.$refs.goodsDetailRef.open(item, type);
+      sendGoods(item, type, detailType) {
+        this.$refs.goodsDetailRef.open(item, type, detailType);
       },
 
       open(type, row) {