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