diff --git a/src/api/check/index.ts b/src/api/check/index.ts index b3593b8..139fd63 100644 --- a/src/api/check/index.ts +++ b/src/api/check/index.ts @@ -19,7 +19,7 @@ export function createcheckmark(data: any) { // 提交审核 export function Auditcheckmark(data: any) { return request({ - url: '/api/checkmark/Auditcheckmark', + url: '/api/api/checkmark/Auditcheckmark', method: 'post', data: data, }); diff --git a/src/views/check/auditSheet/index.vue b/src/views/check/auditSheet/index.vue index bea5b3a..97f7deb 100644 --- a/src/views/check/auditSheet/index.vue +++ b/src/views/check/auditSheet/index.vue @@ -272,18 +272,9 @@ function handleQuery2() { pageSize: state.pageSize2, } getQueryPageList(query).then((res: any) => { - if(res.data.list.length==0){ - - ElMessageBox.alert('查无数据', '提醒框', { - confirmButtonText: 'OK', - }) - state.loading = false; - } else { - - state.loading = false; - state.list2 = res.data.list; - state.total2 = res.data.total; - } + state.loading = false; + state.list2 = res.data.list; + state.total2 = res.data.total; }); } state.loading = false; diff --git a/src/views/stockIn/StockInByCharge/drawer.vue b/src/views/stockIn/StockInByCharge/drawer.vue index d4359b3..35c94d9 100644 --- a/src/views/stockIn/StockInByCharge/drawer.vue +++ b/src/views/stockIn/StockInByCharge/drawer.vue @@ -180,6 +180,7 @@ onMounted(()=> { // 多选 const handleSelection = (val: any) => { if (val.length === 0) { + state.receiveList = [] return } state.selection = val