@@ -81,8 +81,7 @@ export default {
type: 'warning',
}).then(async () => {
let res;
- data.status = '3';
- if (data._id) res = await this.update(data);
+ if (data._id) res = await this.update({ status: '3' });
if (this.$checkRes(res)) {
this.$message({ type: `success`, message: `确认收货成功` });
this.search();