From 1922a6ffe7cc81ef5d43a5a87ecb94f1e1d84f5c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 10 七月 2025 14:26:28 +0800
Subject: [PATCH] no message
---
zy-asrs-admin/src/components/orderDetl/edit.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-admin/src/components/orderDetl/edit.vue b/zy-asrs-admin/src/components/orderDetl/edit.vue
index ef4ac13..2b23c19 100644
--- a/zy-asrs-admin/src/components/orderDetl/edit.vue
+++ b/zy-asrs-admin/src/components/orderDetl/edit.vue
@@ -13,6 +13,10 @@
const TABLE_KEY = 'table-locDetl';
+const props = defineProps({
+ ioModel: null
+})
+
let tableData = ref([]);
let deleteDetlId = ref([]);
let orderId = ref(null);
@@ -226,7 +230,11 @@
function matQuery(condition) {
matFetching.value = true;
- post('/api/mat/page', {
+ let url = '/api/mat/page'
+ if (props.ioModel == 2) {
+ url = '/api/locs/mats/page'
+ }
+ post(url, {
current: 1,
pageSize: 10,
condition: condition
--
Gitblit v1.9.1