问题修改

master
zhangdi 2 weeks ago
parent 2864ac0e78
commit 8eb334d47c
  1. 8
      pages/logistics/packaging.vue

@ -348,10 +348,8 @@ export default {
// //
this.$u.api this.$u.api
.boxBinding({ .boxBinding({
boxBarcode: this.activeBox, // boxBarcode: this.activeBox,
orderIdList: this.boxInfo.yieldOrderList.map( orderIdList: [this.cardCode]
(o) => o.cardNo
),
}) })
.then((bindRes) => { .then((bindRes) => {
uni.showToast({ uni.showToast({
@ -393,7 +391,7 @@ export default {
// //
this.$u.api this.$u.api
.boxUnbind({ .boxUnbind({
boxBarcode: this.activeBox, // boxBarcode: this.activeBox,
orderIdList: [this.cardCode], orderIdList: [this.cardCode],
}) })
.then((unbindRes) => { .then((unbindRes) => {

Loading…
Cancel
Save