diff --git a/pages/logistics/packaging.vue b/pages/logistics/packaging.vue index ae92b81..51021da 100644 --- a/pages/logistics/packaging.vue +++ b/pages/logistics/packaging.vue @@ -348,10 +348,8 @@ export default { // 自动调用绑定接口 this.$u.api .boxBinding({ - boxBarcode: this.activeBox, - orderIdList: this.boxInfo.yieldOrderList.map( - (o) => o.cardNo - ), + // boxBarcode: this.activeBox, + orderIdList: [this.cardCode] }) .then((bindRes) => { uni.showToast({ @@ -393,7 +391,7 @@ export default { // 调用解绑接口(单个解绑) this.$u.api .boxUnbind({ - boxBarcode: this.activeBox, + // boxBarcode: this.activeBox, orderIdList: [this.cardCode], }) .then((unbindRes) => {