diff --git a/src/api/wallet/wallet-transaction.ts b/src/api/wallet/wallet-transaction.ts index 479deca..007514c 100644 --- a/src/api/wallet/wallet-transaction.ts +++ b/src/api/wallet/wallet-transaction.ts @@ -35,6 +35,30 @@ export function pageCz(query?: any) { }) } +export function pageCzTotal(query?: any) { + return request({ + url: "/wallet/wallet-transaction/page-cz-total", + method: "post", + params: { + current: query.current, + size: query.size, + }, + data: query, + }) +} + +export function listDeptCzTotal(query?: any) { + return request({ + url: "/wallet/wallet-transaction/page-cz-dept-total", + method: "post", + params: { + current: query.current, + size: query.size, + }, + data: query, + }) +} + export function czTotal(data?: any) { return request({ url: "/wallet/wallet-transaction/cz-total", diff --git a/src/views/canteen/canteenInventoryRecords/form.vue b/src/views/canteen/canteenInventoryRecords/form.vue index 69184d6..fefb68c 100644 --- a/src/views/canteen/canteenInventoryRecords/form.vue +++ b/src/views/canteen/canteenInventoryRecords/form.vue @@ -283,7 +283,7 @@ const submitData = async () => { // 点击继续添加 const onContinueAdd = async () => { - ;(await baseFormValidate()) && (await itemTableFormValidate()) && (await submitData()) && clearData() && emit("refresh") + (await baseFormValidate()) && (await itemTableFormValidate()) && (await submitData()) && clearData() && emit("refresh") } // 点击保存 diff --git a/src/views/flow/create/step1.vue b/src/views/flow/create/step1.vue index 43d88a4..4dcbbba 100644 --- a/src/views/flow/create/step1.vue +++ b/src/views/flow/create/step1.vue @@ -115,7 +115,7 @@ onMounted(() => { watch( () => props.groupId, (val) => { - if (!!val) { + if (val) { form.value.groupId = parseInt(val); } } diff --git a/src/views/mch/mch-dept/index.vue b/src/views/mch/mch-dept/index.vue index 29cdf2a..413e3d0 100644 --- a/src/views/mch/mch-dept/index.vue +++ b/src/views/mch/mch-dept/index.vue @@ -20,38 +20,22 @@
同步全部 - + 新 增 - + 删除 - +
- + @@ -64,21 +48,15 @@ - + diff --git a/src/views/wallet/wallet-cz-total/index.vue b/src/views/wallet/wallet-cz-total/index.vue new file mode 100644 index 0000000..7b515ec --- /dev/null +++ b/src/views/wallet/wallet-cz-total/index.vue @@ -0,0 +1,203 @@ + + + + + \ No newline at end of file