From 26a370d32cf8478f4c037f76f5037e0e560401c1 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Thu, 9 Feb 2023 14:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=8D=95=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E5=8D=95=E6=8D=AE=E6=B5=81=E8=BD=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/IoCreateOrder.vue | 2 +- src/views/system/param/busTypePre.vue | 8 ++++---- src/views/system/param/busTypePreModify.vue | 20 ++++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/inout/IoCreateOrder.vue b/src/views/inout/IoCreateOrder.vue index 342d9827..7b7dbe1f 100644 --- a/src/views/inout/IoCreateOrder.vue +++ b/src/views/inout/IoCreateOrder.vue @@ -130,7 +130,7 @@ - import {getBusTypeList, getBusTypeListByUser} from "@/api/basic/busType"; -import {filterSubByInv, filterSubAll} from "@/api/system/invSubWarehouse"; +import {filterSubByInv, filterSubAll, findByFrom} from "@/api/system/invSubWarehouse"; export default { name: "BusTypePreModify", @@ -151,13 +151,13 @@ export default { trigger: "blur" } ], - defaultInvCode: [ - { - required: true, - message: "目标往来仓库不能为空", - trigger: "blur" - } - ], + // defaultInvCode: [ + // { + // required: true, + // message: "目标往来仓库不能为空", + // trigger: "blur" + // } + // ], }, } }, @@ -206,10 +206,10 @@ export default { getFromInv() { let params = { - code: this.inputQuery.invCode, + locInvCode: this.inputQuery.invCode, filter: 2 }; - filterSubByInv(params).then((res) => { + findByFrom(params).then((res) => { if (res.code === 20000) { this.fromInvs = res.data; }