diff --git a/pages/production/warehousing.vue b/pages/production/warehousing.vue index 4804103..185e0b0 100644 --- a/pages/production/warehousing.vue +++ b/pages/production/warehousing.vue @@ -132,6 +132,7 @@ export default { if (!code) return; this.value = code; this.$u.api.getBeforePlatInCardNo({ cardNo: code }).then((res) => { + let data = res.data; this.value = ""; this.prWorkPlan = data; this.prWorkOrder = data.prWorkOrder; diff --git a/pages/production/warehousingIssue.vue b/pages/production/warehousingIssue.vue index 1fbfea7..801cc9d 100644 --- a/pages/production/warehousingIssue.vue +++ b/pages/production/warehousingIssue.vue @@ -120,6 +120,7 @@ export default { if (!code) return; this.value = code; this.$u.api.getBeforePlatOutCardNo({ cardNo: code }).then((res) => { + let data = res.data; this.value = ""; this.prPlateAround = data; this.prWorkPlan = data.prWorkPlan; @@ -157,7 +158,7 @@ export default { // }); }, submitClick() { - this.$u.api.savePlateFrontEnterIssue({}).then((res) => { + this.$u.api.savePlateFrontEnterIssue(this.prPlateAround).then((res) => { uni.showToast({ title: "出库成功", });