This commit is contained in:
weiwei committed 2025-03-14 14:31:53 +08:00
1 parent 5396ec358c
commit 796c4cb04e
2 files changed
+9 -7

No files matched your search

@@ -275,10 +275,11 @@ const getInitData = async () => {
// 计算账面数量 // 计算账面数量
const formatterAccountNumber = (row: any) => { const formatterAccountNumber = (row: any) => {
let stock = row.stock if (!row._cachedAccountNumber) {
console.log("xxx", stock) console.log("xxxxx")
return row.erpUnitVos let stock = row.stock
row._cachedAccountNumber = row.erpUnitVos
.map((item: any, index: number) => { .map((item: any, index: number) => {
item.oriIndex = index item.oriIndex = index
return item return item
@@ -290,6 +291,8 @@ const formatterAccountNumber = (row: any) => {
return item return item
}) })
.sort((a: any, b: any) => a.oriIndex - b.oriIndex) .sort((a: any, b: any) => a.oriIndex - b.oriIndex)
}
return row._cachedAccountNumber
} }
// 顶部表格行新增 // 顶部表格行新增
@@ -177,14 +177,12 @@ const showSearch = ref(true)
// 多选变量 // 多选变量
const selectObjs = ref([]) as any const selectObjs = ref([]) as any
const multiple = ref(true) const multiple = ref(true)
const activeName = ref("2") const activeName = ref()
const tabItems = ref<any>([{}]) const tabItems = ref<any>([{}])
const processDrawerRef = ref() const processDrawerRef = ref()
const state: BasicTableProps = reactive<BasicTableProps>({ const state: BasicTableProps = reactive<BasicTableProps>({
queryForm: { queryForm: {},
processStatus: "2",
},
pageList: walletRechargeApplyApi.pageJoin, pageList: walletRechargeApplyApi.pageJoin,
}) })
@@ -234,6 +232,7 @@ const selectionChangHandle = (objs: { id: string }[]) => {
onMounted(async () => { onMounted(async () => {
const { data } = await getDicts("check_status") const { data } = await getDicts("check_status")
data.unshift({ label: "全部", value: null })
tabItems.value = data tabItems.value = data
}) })