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