diff --git a/src/pages/raw/handover/returning/index.vue b/src/pages/raw/handover/returning/index.vue index 28c0cd0..4872688 100644 --- a/src/pages/raw/handover/returning/index.vue +++ b/src/pages/raw/handover/returning/index.vue @@ -164,7 +164,8 @@ export default class returningDom extends BasePage { let sendSpot = JSON.parse(localStorage.getItem('sendSpot') as any); if (JSON.parse(sessionStorage.getItem('data') as any)) { this.data = JSON.parse(sessionStorage.getItem('data') as any); - this.form.prdOrder = this.data.label; + console.log('this.data',this.data) + this.prdOrder = this.data.label; this.form.wlName = this.data.value; this.form.sendSpot = this.data.sendSpot; // this.form.amount = this.data.amount; diff --git a/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue b/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue index 76d6627..4cd61c4 100644 --- a/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue +++ b/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue @@ -163,7 +163,7 @@ export default class dnReceiptDom extends BasePage { this.customToast(this.$t('message.Commission_tips1') as any); return; } - await this.model.queryOrderInInfo(this.form.documentNo.trim()); + await this.model.queryOrderInInfo(this.form.documentNo); if (model.code == '1') { uni.showToast({ icon: 'success', diff --git a/src/pages/raw/warehouse/rowInventory/index.vue b/src/pages/raw/warehouse/rowInventory/index.vue index 9ecffe0..33e17c3 100644 --- a/src/pages/raw/warehouse/rowInventory/index.vue +++ b/src/pages/raw/warehouse/rowInventory/index.vue @@ -50,23 +50,12 @@ import model from './model'; @Component export default class rawMaterialInventory extends BasePage { - /** - * 表单引用 - */ @Ref('form') readonly $form!: VForm; - - /** - * 页面Module - */ model = model; index() { this.toPage(this.page.raw.index); } - status = false; - /** - * 表单数据 - */ form = { // 盘点单号 pddNo: null, @@ -75,19 +64,14 @@ export default class rawMaterialInventory extends BasePage { productDescZh: null, // 盘点数量 spQty: null, - - // cboPlace: {} as OptionType, }; cboPlaceSelect = false; - rules: VFormRules = { pddNo: [{ required: true, message: this.$t('message.dn_PleaseScan') as string }], // cboPlace: [{ required: true, message: this.$t('message.Warehouse_Tip10') as string }], }; - value = ''; show = false; - // 扫描物料号检查 async checkRawProductCode(productCode: string) { let result = await model.checkRawProductCode({ @@ -104,11 +88,9 @@ export default class rawMaterialInventory extends BasePage { model.checkRawCreateInfo(this.form); } } - // async checkRawOrderComplete() { await model.checkRawOrderComplete(this.form.pddNo); } - // 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 onReady() { this.$form.setRules(this.rules);