YY 2 år sedan
förälder
incheckning
4a415b8818

+ 1 - 1
src/views/platmanag/order/parts/card-3.vue

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

+ 1 - 1
src/views/selfShop/order/parts/card-3.vue

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