diff --git a/src/views/hard/hard-order/index.vue b/src/views/hard/hard-order/index.vue index 952a09e..ade84b7 100644 --- a/src/views/hard/hard-order/index.vue +++ b/src/views/hard/hard-order/index.vue @@ -295,7 +295,7 @@ const resetQuery = () => { selectObjs.value = [] state.queryForm.deptId = "" state.queryForm.deptIds = [] - draggableDepTreeRef.value.resetData() + // draggableDepTreeRef.value.resetData() getDataList() } diff --git a/src/views/supermarketerp/supermarketSpu/components/supermarketAuxiliaryCode.vue b/src/views/supermarketerp/supermarketSpu/components/supermarketAuxiliaryCode.vue index e5dfa19..f9c80b5 100644 --- a/src/views/supermarketerp/supermarketSpu/components/supermarketAuxiliaryCode.vue +++ b/src/views/supermarketerp/supermarketSpu/components/supermarketAuxiliaryCode.vue @@ -31,9 +31,22 @@ > - + + + + + @@ -47,20 +60,27 @@ const supermarketAuxiliaryCodeEntityList = defineModel("supermarketAuxiliaryCode default: [ { id: nanoid(5), + unit: "", barCode: "", }, ], }) +defineProps<{ + smErpUnitEntityList: any[] +}>() + const editableTableRef = ref() const validRules = { - barCode: [{ required: true, message: "条码不能为空", trigger: "blur" }], + unit: [{ required: true, message: "包装单位不能为空", trigger: "blur" }], + // barCode: [{ required: true, message: "条码不能为空", trigger: "blur" }], } // 底部表格行新增 const pushEvent = () => { const newRow: any = { id: nanoid(5), + unit: "", barCode: "", isNew: true, } diff --git a/src/views/supermarketerp/supermarketSpu/components/supermarketUnit.vue b/src/views/supermarketerp/supermarketSpu/components/supermarketUnit.vue index cb7a348..038ff39 100644 --- a/src/views/supermarketerp/supermarketSpu/components/supermarketUnit.vue +++ b/src/views/supermarketerp/supermarketSpu/components/supermarketUnit.vue @@ -59,7 +59,7 @@ - + - - - - - - - + + + @@ -165,15 +157,15 @@ const resetQuery = () => { // 导出excel const exportExcel = () => { postDownBlobFile( - "/wallet/wallet-manage/export", + "/wallet/wallet-manage/export-qb", Object.assign(state.queryForm, { current: state.pagination?.current, size: state.pagination?.size }), - "walletManage.xlsx", + "wallet_walletRecord.xlsx", ) } const getSummaries = (param: any) => { const { columns, data } = param - const totalColumns = ["balance", "totalExpense", "totalRecharge"] + const totalColumns = ["balance"] const totalRow = Array.from({ length: columns.length }) columns.forEach((i: any, index: number) => { if (totalColumns.includes(i.property)) { @@ -218,39 +210,3 @@ const handleDelete = async (ids: string[]) => { } } - - diff --git a/src/views/wallet/wallet-xf/index.vue b/src/views/wallet/wallet-xf/index.vue index 2d5bdac..5fdc020 100644 --- a/src/views/wallet/wallet-xf/index.vue +++ b/src/views/wallet/wallet-xf/index.vue @@ -17,6 +17,9 @@ + + +