diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index 596c900..b888679 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -247,7 +247,7 @@ import codesPanel from "./PanelCreateOrderCodes" import codeDetailPanel from "./PanelCreateOrderCodeDetail" import bizDetailPanel from "./PanelCreateOrderBizDetail" import A from "../../plugins/KeyScaner" -import {findByInvUser} from "@/api/basic/busType"; +import { findByInvUser, getLocalJoinByUser } from '@/api/basic/busType' export default { name: "ioCreateOrder", @@ -388,9 +388,9 @@ export default { code: this.orderFormData.invCode, vueType: "supDelivery", }; - findByInvUser(query) + getLocalJoinByUser(query) .then((response) => { - this.busTypeOptions = response.data || []; + this.busTypeOptions = response.data.list || []; }) .catch(() => { });