镀前出入库问题修改

master
zhangdi 3 weeks ago
parent bc3f09b598
commit 2ef77a8d5e
  1. 1
      pages/production/warehousing.vue
  2. 3
      pages/production/warehousingIssue.vue

@ -132,6 +132,7 @@ export default {
if (!code) return; if (!code) return;
this.value = code; this.value = code;
this.$u.api.getBeforePlatInCardNo({ cardNo: code }).then((res) => { this.$u.api.getBeforePlatInCardNo({ cardNo: code }).then((res) => {
let data = res.data;
this.value = ""; this.value = "";
this.prWorkPlan = data; this.prWorkPlan = data;
this.prWorkOrder = data.prWorkOrder; this.prWorkOrder = data.prWorkOrder;

@ -120,6 +120,7 @@ export default {
if (!code) return; if (!code) return;
this.value = code; this.value = code;
this.$u.api.getBeforePlatOutCardNo({ cardNo: code }).then((res) => { this.$u.api.getBeforePlatOutCardNo({ cardNo: code }).then((res) => {
let data = res.data;
this.value = ""; this.value = "";
this.prPlateAround = data; this.prPlateAround = data;
this.prWorkPlan = data.prWorkPlan; this.prWorkPlan = data.prWorkPlan;
@ -157,7 +158,7 @@ export default {
// }); // });
}, },
submitClick() { submitClick() {
this.$u.api.savePlateFrontEnterIssue({}).then((res) => { this.$u.api.savePlateFrontEnterIssue(this.prPlateAround).then((res) => {
uni.showToast({ uni.showToast({
title: "出库成功", title: "出库成功",
}); });

Loading…
Cancel
Save