huang_an 2 년 전
부모
커밋
f57bef48bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/warehouseManagement/stockManagement/add.vue

+ 1 - 1
src/views/warehouseManagement/stockManagement/add.vue

@@ -2296,7 +2296,7 @@
             try {
               const res = await outin.save(obj);
               if (res.code == 0) {
-                await outin.outApprovesInside({ outInIds: res.data });
+                await outin.outApproves({ outInId: res.data[0] });
                 this.$message.success('保存成功!');
               }
             } catch (error) {