huang_an hace 2 años
padre
commit
f57bef48bb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {