Переглянути джерело

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) {