)
+}
diff --git a/src/components/a-page/a-table-page/ATablePage.tsx b/src/components/a-page/a-table-page/ATablePage.tsx
index 57f1b6f..629b480 100644
--- a/src/components/a-page/a-table-page/ATablePage.tsx
+++ b/src/components/a-page/a-table-page/ATablePage.tsx
@@ -142,10 +142,16 @@ interface FormPropsType {
* 页布局配置
*/
interface PageLayoutType {
+ /**
+ * 查询表单高度,传入数字时,单位:fr,传入字符串时不会而外添加单位,,默认:1fr
+ */
+ searchFormHeight: number | string
/**
* 数据表格高度,传入数字时,单位:fr,传入字符串时不会而外添加单位,,默认:9fr
*/
dataListHeight: number | string
+ showHighForm: boolean
+ enableHighForm: boolean
}
interface ATablePageType
{
@@ -187,10 +193,22 @@ function buildSearchForm
(searchForm: DeepPartial = {}) {
+ if (pageLayout.searchFormHeight == null) {
+ pageLayout.searchFormHeight = 1
+ }
+
if (pageLayout.dataListHeight == null) {
pageLayout.dataListHeight = 9
}
+ if (pageLayout.showHighForm == null) {
+ pageLayout.showHighForm = false
+ }
+
+ if (pageLayout.enableHighForm == null) {
+ pageLayout.enableHighForm = true
+ }
+
return pageLayout
}
@@ -211,13 +229,16 @@ function buildTable(table: DeepPartial
(false)
- const showHighForm = ref(false)
+ const showHighForm = ref(props.pageLayout.showHighForm)
const doSearch = () => {
loading.value = true
@@ -331,8 +352,10 @@ const component = defineComponent(
const pageCssParam = computed(() => {
const dataListHeight = props.pageLayout.dataListHeight
+ const searchFormHeight = props.pageLayout.searchFormHeight
return {
'--data-list-height': Types.isString(dataListHeight) ? dataListHeight : dataListHeight + 'fr',
+ '--search-form-height': Types.isString(searchFormHeight) ? searchFormHeight : searchFormHeight + 'fr',
}
})
const actionColumnBtnRender = (scope: ColumnScopeType, tableAction: TableActionType) => {
@@ -466,10 +489,14 @@ const component = defineComponent(
}}
)
}
+ const sortChangeHandler = ({prop, order}: { prop: string, order: 'ascending' | 'descending' | null }) => {
+ formData.orders = order == null ? undefined : (prop + ':' + (order == 'ascending' ? 'asc' : 'desc'))
+ doSearch()
+ }
onMounted(doSearch)
return () => (
-
+ {props.pageLayout.enableHighForm ? (
{/*@ts-ignore*/}
{
@@ -477,7 +504,7 @@ const component = defineComponent(
}
-
+ ) : <>>}
@@ -530,9 +557,11 @@ const component = defineComponent(
)
}
-
-
-
+ {
+ props.pageLayout.enableHighForm ? (
+
+ ) : <>>}
@@ -548,6 +577,7 @@ const component = defineComponent(
cell-class-name="table-cell"
header-row-class-name="table-header"
class="data-table"
+ onSort-change={sortChangeHandler}
>
{
slots.columns?.()
diff --git a/src/components/a-page/a-table-page/a-table-page.module.styl b/src/components/a-page/a-table-page/a-table-page.module.styl
index 78f12d5..91120f6 100644
--- a/src/components/a-page/a-table-page/a-table-page.module.styl
+++ b/src/components/a-page/a-table-page/a-table-page.module.styl
@@ -1,6 +1,6 @@
.table-page {
grid-template-columns 1fr
- grid-template-rows: minmax(74px, 1fr) minmax(277px, var(--data-list-height));
+ grid-template-rows: minmax(74px, var(--search-form-height)) minmax(277px, var(--data-list-height));
grid-auto-rows: minmax(0, auto);
gap 10px
@@ -74,11 +74,13 @@
.tool-bar-right {
display grid
- grid-template-columns: minmax(200px, 1fr) 150px;
+ grid-template-columns: minmax(200px, 1fr) auto;
grid-auto-rows: 32px;
gap 10px
& > div:first-child {
+ justify-self: end;
+
:global(.el-form) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
@@ -92,7 +94,10 @@
& > div:last-child {
display: flex;
- justify-content: space-evenly;
+ gap 10px
+ justify-content: flex-end;
+ min-width 65px
+ max-width 150px
:global(.el-button--default) {
width 32px
@@ -119,7 +124,6 @@
}
}
-
/*:global(.el-table) {
width 100%
height: 100%;
@@ -199,6 +203,7 @@
}
}
*/
+
:global(.el-pagination) {
justify-content center
diff --git a/src/components/a-table-column/ADesensitizeColumn.vue b/src/components/a-table-column/ADesensitizeColumn.vue
new file mode 100644
index 0000000..2ed396e
--- /dev/null
+++ b/src/components/a-table-column/ADesensitizeColumn.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/dts/components.d.ts b/src/dts/components.d.ts
index 9c8065c..c718434 100644
--- a/src/dts/components.d.ts
+++ b/src/dts/components.d.ts
@@ -17,6 +17,7 @@ declare module 'vue' {
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
ElButton: typeof import('element-plus/es')['ElButton']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
+ ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElContainer: typeof import('element-plus/es')['ElContainer']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
@@ -33,6 +34,7 @@ declare module 'vue' {
ElHeader: typeof import('element-plus/es')['ElHeader']
ElIcon: typeof import('element-plus/es')['ElIcon']
ElIconCircleClose: typeof import('@element-plus/icons-vue')['CircleClose']
+ ElIconPicture: typeof import('@element-plus/icons-vue')['Picture']
ElIconPlus: typeof import('@element-plus/icons-vue')['Plus']
ElImage: typeof import('element-plus/es')['ElImage']
ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
@@ -53,6 +55,8 @@ declare module 'vue' {
ElTabs: typeof import('element-plus/es')['ElTabs']
ElTag: typeof import('element-plus/es')['ElTag']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
+ ElTransfer: typeof import('element-plus/es')['ElTransfer']
+ ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
ElUpload: typeof import('element-plus/es')['ElUpload']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
@@ -70,6 +74,7 @@ declare global {
const ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
const ElButton: typeof import('element-plus/es')['ElButton']
const ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
+ const ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
const ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
const ElContainer: typeof import('element-plus/es')['ElContainer']
const ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
@@ -86,6 +91,7 @@ declare global {
const ElHeader: typeof import('element-plus/es')['ElHeader']
const ElIcon: typeof import('element-plus/es')['ElIcon']
const ElIconCircleClose: typeof import('@element-plus/icons-vue')['CircleClose']
+ const ElIconPicture: typeof import('@element-plus/icons-vue')['Picture']
const ElIconPlus: typeof import('@element-plus/icons-vue')['Plus']
const ElImage: typeof import('element-plus/es')['ElImage']
const ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
@@ -106,6 +112,8 @@ declare global {
const ElTabs: typeof import('element-plus/es')['ElTabs']
const ElTag: typeof import('element-plus/es')['ElTag']
const ElTooltip: typeof import('element-plus/es')['ElTooltip']
+ const ElTransfer: typeof import('element-plus/es')['ElTransfer']
+ const ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
const ElUpload: typeof import('element-plus/es')['ElUpload']
const RouterLink: typeof import('vue-router')['RouterLink']
const RouterView: typeof import('vue-router')['RouterView']
diff --git a/src/pages/cst/customer/CustomerForm.vue b/src/pages/cst/customer/CustomerForm.vue
index 9138a08..4938a65 100644
--- a/src/pages/cst/customer/CustomerForm.vue
+++ b/src/pages/cst/customer/CustomerForm.vue
@@ -1,9 +1,9 @@
@@ -38,7 +38,7 @@
import CustomerApi from '@/pages/cst/customer/customer-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import {
identityCategory,
settlementWay,
@@ -83,7 +83,7 @@ function doSubmit(data: CustomerTypes.TableData) {
}
defineExpose({
- open(data?: CustomerTypes.TableData) {
+ open(data?: CustomerTypes.SearchCustomerResult) {
formPanelIns.value?.open(data?.id)
},
})
diff --git a/src/pages/cst/customer/constants.ts b/src/pages/cst/customer/constants.ts
index 46bdc88..f78d979 100644
--- a/src/pages/cst/customer/constants.ts
+++ b/src/pages/cst/customer/constants.ts
@@ -15,6 +15,17 @@ const settlementWayList = [
},
] as const
+const orgCategoryList = [
+ {
+ val: 'GeRen',
+ txt: '个人',
+ },
+ {
+ val: 'QiYe',
+ txt: '企业',
+ },
+] as const
+
const identityCategoryList = [
{
val: 'ChanFei',
@@ -40,3 +51,4 @@ const identityCategoryList = [
export const settlementWay = createEnum(settlementWayList)
export const identityCategory = createEnum(identityCategoryList)
+export const orgCategory = createEnum(orgCategoryList)
diff --git a/src/pages/cst/customer/customer.d.ts b/src/pages/cst/customer/customer.d.ts
index e6575e5..30ea766 100644
--- a/src/pages/cst/customer/customer.d.ts
+++ b/src/pages/cst/customer/customer.d.ts
@@ -38,7 +38,7 @@ declare global {
manager?: boolean
}
- interface SearchCustomerResult {
+ interface SearchCustomerResult extends CustomerInfo {
// 用户 Id;一个用户可以有多个身份
userId?: string
username?: string
@@ -46,6 +46,8 @@ declare global {
nickname?: string
// 客户联系电话
phone?: string
+ orgCategory?: string
+ orgCategoryTxt?: string
customerInfos?: CustomerInfo[]
}
diff --git a/src/pages/cst/customer/purchaser/Purchaser.vue b/src/pages/cst/customer/purchaser/Purchaser.vue
new file mode 100644
index 0000000..3a8fc47
--- /dev/null
+++ b/src/pages/cst/customer/purchaser/Purchaser.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.orgCategoryTxt }}
+
+
+
+
+
+ {{ scope.row.orgName ?? '-' }}
+
+
+
+
+
+
+
+
+ {{ scope.row.settlementWayTxt }}
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/cst/customer/purchaser/page.ts b/src/pages/cst/customer/purchaser/page.ts
new file mode 100644
index 0000000..31a0560
--- /dev/null
+++ b/src/pages/cst/customer/purchaser/page.ts
@@ -0,0 +1,3 @@
+export default {
+ component: () => import('@/pages/cst/customer/purchaser/Purchaser.vue'),
+} as RouterTypes.RouteConfig
diff --git a/src/pages/cst/customer/transport/Transport.vue b/src/pages/cst/customer/transport/Transport.vue
new file mode 100644
index 0000000..b8679d7
--- /dev/null
+++ b/src/pages/cst/customer/transport/Transport.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.orgCategoryTxt }}
+
+
+
+
+
+ {{ scope.row.orgName ?? '-' }}
+
+
+
+
+
+
+
+
+ {{ scope.row.settlementWayTxt }}
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/cst/customer/transport/page.ts b/src/pages/cst/customer/transport/page.ts
new file mode 100644
index 0000000..98fb85c
--- /dev/null
+++ b/src/pages/cst/customer/transport/page.ts
@@ -0,0 +1,3 @@
+export default {
+ component: () => import('@/pages/cst/customer/transport/Transport.vue'),
+} as RouterTypes.RouteConfig
diff --git a/src/pages/cst/customer/waste-prod/WasteProd.vue b/src/pages/cst/customer/waste-prod/WasteProd.vue
new file mode 100644
index 0000000..3a8fc47
--- /dev/null
+++ b/src/pages/cst/customer/waste-prod/WasteProd.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.orgCategoryTxt }}
+
+
+
+
+
+ {{ scope.row.orgName ?? '-' }}
+
+
+
+
+
+
+
+
+ {{ scope.row.settlementWayTxt }}
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/cst/customer/waste-prod/page.ts b/src/pages/cst/customer/waste-prod/page.ts
new file mode 100644
index 0000000..d973e8a
--- /dev/null
+++ b/src/pages/cst/customer/waste-prod/page.ts
@@ -0,0 +1,3 @@
+export default {
+ component: () => import('@/pages/cst/customer/waste-prod/WasteProd.vue'),
+} as RouterTypes.RouteConfig
diff --git a/src/pages/cst/driver/Driver.vue b/src/pages/cst/driver/Driver.vue
index ef1cc08..6a4b224 100644
--- a/src/pages/cst/driver/Driver.vue
+++ b/src/pages/cst/driver/Driver.vue
@@ -1,34 +1,33 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -36,62 +35,65 @@
-
-
-
-
-
+
+
+ {{ row.licenceStartTime + ' 至 ' + (row.licenceEndTime ?? '永久') }}
+
+
+
+
+ {{ row.busy ? '运输中' : '空闲' }}
+
+
-
+
diff --git a/src/pages/cst/driver/DriverDetail.vue b/src/pages/cst/driver/DriverDetail.vue
index 727dab4..961370b 100644
--- a/src/pages/cst/driver/DriverDetail.vue
+++ b/src/pages/cst/driver/DriverDetail.vue
@@ -1,124 +1,54 @@
-
-
-
- {{ formData.driverName }}
-
-
- {{ formData.orgName }}
-
-
- {{ formData?.drivingLicenceNo }}
-
-
- {{ formData.phone }}
-
-
- {{ formData.createTime }}
-
-
- {{ formData.modifyTime }}
-
-
-
-
- {{ formData.licenceStartTime }} ~ {{ formData.licenceEndTime }}
-
-
-
- 关闭
+
+
+
+
+ {{ detailData.driverName }}
+
+
+ {{ detailData.orgName }}
+
+
+ {{ detailData?.drivingLicenceNo }}
+
+
+ {{ detailData.phone }}
+
+
+ {{ detailData.createTime }}
+
+
+ {{ detailData.modifyTime }}
+
+
+
+
+ {{ detailData.licenceStartTime + ' 至 ' + (detailData.licenceEndTime ?? '永久') }}
+
-
+
-
-
diff --git a/src/pages/cst/driver/DriverForm.vue b/src/pages/cst/driver/DriverForm.vue
index 5225423..6d4c9b9 100644
--- a/src/pages/cst/driver/DriverForm.vue
+++ b/src/pages/cst/driver/DriverForm.vue
@@ -67,7 +67,7 @@
import DriverApi from '@/pages/cst/driver/driver-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import type { ComponentExposed } from 'vue-component-type-helpers'
const props = withDefaults(defineProps<{
diff --git a/src/pages/cst/org/OrgForm.vue b/src/pages/cst/org/OrgForm.vue
index 329b638..4235be5 100644
--- a/src/pages/cst/org/OrgForm.vue
+++ b/src/pages/cst/org/OrgForm.vue
@@ -156,7 +156,7 @@
diff --git a/src/pages/cst/station/StationForm.vue b/src/pages/cst/station/StationForm.vue
index c013846..68ca8a1 100644
--- a/src/pages/cst/station/StationForm.vue
+++ b/src/pages/cst/station/StationForm.vue
@@ -4,13 +4,11 @@
:details-loader="detailsLoader"
:do-submit="doSubmit"
:rules="rules"
+ label-width="100px"
:title="status === 'add' ? '新建站点' : '修改站点'"
>
@@ -59,7 +58,7 @@
import StationApi from '@/pages/cst/station/station-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import type { ComponentExposed } from 'vue-component-type-helpers'
const props = withDefaults(defineProps<{
@@ -124,7 +123,7 @@ defineExpose({
diff --git a/src/pages/cst/truck/Truck.vue b/src/pages/cst/truck/Truck.vue
index a7e6ced..f39fd5c 100644
--- a/src/pages/cst/truck/Truck.vue
+++ b/src/pages/cst/truck/Truck.vue
@@ -1,25 +1,24 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -28,15 +27,15 @@
-
+
+ style="width: 23px; height: 23px;display: block;"/>
-
+
{{ row.busy ? '运输中' : '空闲' }}
@@ -44,7 +43,7 @@
-
+
diff --git a/src/pages/cst/truck/TruckDetail.vue b/src/pages/cst/truck/TruckDetail.vue
index 10e29db..53a47ad 100644
--- a/src/pages/cst/truck/TruckDetail.vue
+++ b/src/pages/cst/truck/TruckDetail.vue
@@ -1,149 +1,75 @@
-
-
-
- {{ formData.licensePlate }}
-
+
+
+
+
+ {{ detailData.licensePlate }}
+
+
+
+
+
+ {{ detailData.licenseStartDate }} ~ {{ detailData.licenseEndDate }}
+
+
+ {{ detailData.vnCode }}
+
+
+
+
-
-
-
+
+ {{ detailData.qualificationStartDate }} ~ {{ detailData.qualificationEndDate }}
+
-
- {{ formData.licenseStartDate }} ~ {{ formData.licenseEndDate }}
-
-
- {{ formData.vnCode }}
-
-
-
-
+
+ {{ Number(detailData.carryingCapacity) / 1000 }}吨
+
-
- {{ formData.qualificationStartDate }} ~ {{ formData.qualificationEndDate }}
-
+
+ {{ detailData.busy ? '运输中' : '空闲' }}
+
-
- {{ Number(formData.carryingCapacity)/1000 }}吨
-
+
+
+
-
- {{ formData.busy?'运输中':'空闲' }}
-
-
-
-
-
-
-
- {{ formData.truckCategory }}
-
-
- {{ formData.createTime }}
-
-
- {{ formData.modifyTime }}
-
-
-
- 关闭
+
+ {{ detailData.truckCategory }}
+
+
+ {{ detailData.createTime }}
+
+
+ {{ detailData.modifyTime }}
+
+
-
+
-
-
diff --git a/src/pages/cst/truck/TruckForm.vue b/src/pages/cst/truck/TruckForm.vue
index 34e057c..4309813 100644
--- a/src/pages/cst/truck/TruckForm.vue
+++ b/src/pages/cst/truck/TruckForm.vue
@@ -88,7 +88,7 @@ import TruckApi from '@/pages/cst/truck/truck-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import type { ComponentExposed } from 'vue-component-type-helpers'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
const props = withDefaults(defineProps<{
research?: () => void
diff --git a/src/pages/fin/bill/Bill.vue b/src/pages/fin/bill/Bill.vue
new file mode 100644
index 0000000..d6ad652
--- /dev/null
+++ b/src/pages/fin/bill/Bill.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/fin/bill/BillDetail.vue b/src/pages/fin/bill/BillDetail.vue
new file mode 100644
index 0000000..a0c0d94
--- /dev/null
+++ b/src/pages/fin/bill/BillDetail.vue
@@ -0,0 +1,96 @@
+
+
+
+
+ {{ detailData.id }}
+
+
+ {{ detailData.userId }}
+
+
+ {{ detailData.customerId }}
+
+
+ {{ detailData.orgId }}
+
+
+ {{ detailData.accountType }}
+
+
+ {{ detailData.billPeriod }}
+
+
+ {{ detailData.startTime }}
+
+
+ {{ detailData.endTime }}
+
+
+ {{ detailData.orderCount }}
+
+
+ {{ detailData.carCount }}
+
+
+ {{ detailData.totalWeight }}
+
+
+ {{ detailData.discountMoney }}
+
+
+ {{ detailData.totalMoney }}
+
+
+ {{ detailData.memo }}
+
+
+ {{ detailData.creatorId }}
+
+
+ {{ detailData.modifierId }}
+
+
+ {{ detailData.createTime }}
+
+
+ {{ detailData.modifyTime }}
+
+
+ {{ detailData.deleted }}
+
+
+
+ 关闭
+
+
+
+
+
+
+
diff --git a/src/pages/fin/bill/BillForm.vue b/src/pages/fin/bill/BillForm.vue
new file mode 100644
index 0000000..b9f4694
--- /dev/null
+++ b/src/pages/fin/bill/BillForm.vue
@@ -0,0 +1,226 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ status === 'view' ? '关闭' : '取消' }}
+ 提交
+
+
+
+
+
+
+
diff --git a/src/pages/fin/bill/bill-api.ts b/src/pages/fin/bill/bill-api.ts
new file mode 100644
index 0000000..5bd9b36
--- /dev/null
+++ b/src/pages/fin/bill/bill-api.ts
@@ -0,0 +1,22 @@
+import {
+ get,
+ post,
+} from '@/common/utils/http-util.ts'
+
+export default {
+ paging(data: BillTypes.SearchBillParam) {
+ return get
>('/bill/paging', data)
+ },
+ detail(id: string) {
+ return get('/bill/detail', {id})
+ },
+ add(data: BillTypes.AddBillParam) {
+ return post('/bill/add', data)
+ },
+ modify(data: BillTypes.ModifyBillParam) {
+ return post('/bill/modify', data)
+ },
+ del(ids: string[]) {
+ return post('/bill/del', ids)
+ },
+}
diff --git a/src/pages/fin/bill/bill.d.ts b/src/pages/fin/bill/bill.d.ts
new file mode 100644
index 0000000..e7b6b04
--- /dev/null
+++ b/src/pages/fin/bill/bill.d.ts
@@ -0,0 +1,169 @@
+export {}
+
+declare global {
+ namespace BillTypes {
+ interface SearchBillParam extends G.PageParam {
+ // Id
+ id?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id;cst_customer.id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 账期
+ billPeriod?: string
+ // 账单开始时间
+ startTime?: string
+ // 账单结束时间
+ endTime?: string
+ // 订单数
+ orderCount?: number
+ // 总车数
+ carCount?: number
+ // 总质量
+ totalWeight?: number
+ // 优惠金额
+ discountMoney?: string
+ // 账单金额
+ totalMoney?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id;sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface SearchBillResult {
+ // Id
+ id?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id;cst_customer.id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 账期
+ billPeriod?: string
+ // 账单开始时间
+ startTime?: string
+ // 账单结束时间
+ endTime?: string
+ // 订单数
+ orderCount?: number
+ // 总车数
+ carCount?: number
+ // 总质量
+ totalWeight?: number
+ // 优惠金额
+ discountMoney?: string
+ // 账单金额
+ totalMoney?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id;sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface AddBillParam {
+ // Id
+ id?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id;cst_customer.id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 账期
+ billPeriod?: string
+ // 账单开始时间
+ startTime?: string
+ // 账单结束时间
+ endTime?: string
+ // 订单数
+ orderCount?: number
+ // 总车数
+ carCount?: number
+ // 总质量
+ totalWeight?: number
+ // 优惠金额
+ discountMoney?: string
+ // 账单金额
+ totalMoney?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id;sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface ModifyBillParam {
+ // Id
+ id?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id;cst_customer.id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 账期
+ billPeriod?: string
+ // 账单开始时间
+ startTime?: string
+ // 账单结束时间
+ endTime?: string
+ // 订单数
+ orderCount?: number
+ // 总车数
+ carCount?: number
+ // 总质量
+ totalWeight?: number
+ // 优惠金额
+ discountMoney?: string
+ // 账单金额
+ totalMoney?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id;sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+ }
+}
diff --git a/src/pages/fin/bill/page.ts b/src/pages/fin/bill/page.ts
new file mode 100644
index 0000000..8e1e93f
--- /dev/null
+++ b/src/pages/fin/bill/page.ts
@@ -0,0 +1,3 @@
+export default {
+ component: () => import('@/pages/fin/bill/Bill.vue'),
+} as RouterTypes.RouteConfig
\ No newline at end of file
diff --git a/src/pages/fin/money-account/MoneyAccount.vue b/src/pages/fin/money-account/MoneyAccount.vue
new file mode 100644
index 0000000..aa38d6a
--- /dev/null
+++ b/src/pages/fin/money-account/MoneyAccount.vue
@@ -0,0 +1,150 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/fin/money-account/MoneyAccountDetail.vue b/src/pages/fin/money-account/MoneyAccountDetail.vue
new file mode 100644
index 0000000..762f6ad
--- /dev/null
+++ b/src/pages/fin/money-account/MoneyAccountDetail.vue
@@ -0,0 +1,78 @@
+
+
+
+
+ {{ detailData.id }}
+
+
+ {{ detailData.sn }}
+
+
+ {{ detailData.accountType }}
+
+
+ {{ detailData.userId }}
+
+
+ {{ detailData.customerId }}
+
+
+ {{ detailData.orgId }}
+
+
+ {{ detailData.revenue }}
+
+
+ {{ detailData.recharge }}
+
+
+ {{ detailData.creatorId }}
+
+
+ {{ detailData.modifierId }}
+
+
+ {{ detailData.createTime }}
+
+
+ {{ detailData.modifyTime }}
+
+
+ {{ detailData.deleted }}
+
+
+
+ 关闭
+
+
+
+
+
+
+
diff --git a/src/pages/fin/money-account/MoneyAccountForm.vue b/src/pages/fin/money-account/MoneyAccountForm.vue
new file mode 100644
index 0000000..4f88241
--- /dev/null
+++ b/src/pages/fin/money-account/MoneyAccountForm.vue
@@ -0,0 +1,184 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ status === 'view' ? '关闭' : '取消' }}
+ 提交
+
+
+
+
+
+
+
diff --git a/src/pages/fin/money-account/money-account-api.ts b/src/pages/fin/money-account/money-account-api.ts
new file mode 100644
index 0000000..b30feb2
--- /dev/null
+++ b/src/pages/fin/money-account/money-account-api.ts
@@ -0,0 +1,22 @@
+import {
+ get,
+ post,
+} from '@/common/utils/http-util.ts'
+
+export default {
+ paging(data: MoneyAccountTypes.SearchMoneyAccountParam) {
+ return get>('/money_account/paging', data)
+ },
+ detail(id: string) {
+ return get('/money_account/detail', {id})
+ },
+ add(data: MoneyAccountTypes.AddMoneyAccountParam) {
+ return post('/money_account/add', data)
+ },
+ modify(data: MoneyAccountTypes.ModifyMoneyAccountParam) {
+ return post('/money_account/modify', data)
+ },
+ del(ids: string[]) {
+ return post('/money_account/del', ids)
+ },
+}
diff --git a/src/pages/fin/money-account/money-account.d.ts b/src/pages/fin/money-account/money-account.d.ts
new file mode 100644
index 0000000..8024744
--- /dev/null
+++ b/src/pages/fin/money-account/money-account.d.ts
@@ -0,0 +1,121 @@
+export {}
+
+declare global {
+ namespace MoneyAccountTypes {
+ interface SearchMoneyAccountParam extends G.PageParam {
+ // Id
+ id?: string
+ // 账户编号
+ sn?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 营收余额
+ revenue?: string
+ // 充值余额
+ recharge?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface SearchMoneyAccountResult {
+ // Id
+ id?: string
+ // 账户编号
+ sn?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 营收余额
+ revenue?: string
+ // 充值余额
+ recharge?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface AddMoneyAccountParam {
+ // Id
+ id?: string
+ // 账户编号
+ sn?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 营收余额
+ revenue?: string
+ // 充值余额
+ recharge?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface ModifyMoneyAccountParam {
+ // Id
+ id?: string
+ // 账户编号
+ sn?: string
+ // 账户类型;account_type,GeRen-->个人、QiYe-->企业
+ accountType?: string
+ // 用户 Id
+ userId?: string
+ // 客户 Id
+ customerId?: string
+ // 组织 Id
+ orgId?: string
+ // 营收余额
+ revenue?: string
+ // 充值余额
+ recharge?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+ }
+}
diff --git a/src/pages/fin/money-account/page.ts b/src/pages/fin/money-account/page.ts
new file mode 100644
index 0000000..bc50555
--- /dev/null
+++ b/src/pages/fin/money-account/page.ts
@@ -0,0 +1,3 @@
+export default {
+ component: () => import('@/pages/fin/money-account/MoneyAccount.vue'),
+} as RouterTypes.RouteConfig
diff --git a/src/pages/fin/money-flow/MoneyFlow.vue b/src/pages/fin/money-flow/MoneyFlow.vue
new file mode 100644
index 0000000..bb9ca2f
--- /dev/null
+++ b/src/pages/fin/money-flow/MoneyFlow.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/fin/money-flow/MoneyFlowDetail.vue b/src/pages/fin/money-flow/MoneyFlowDetail.vue
new file mode 100644
index 0000000..ff07b06
--- /dev/null
+++ b/src/pages/fin/money-flow/MoneyFlowDetail.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+ {{ detailData.id }}
+
+
+ {{ detailData.orderId }}
+
+
+ {{ detailData.orderSn }}
+
+
+ {{ detailData.trainNum }}
+
+
+ {{ detailData.moneyAccountId }}
+
+
+ {{ detailData.beforeBalance }}
+
+
+ {{ detailData.delta }}
+
+
+ {{ detailData.afterBalance }}
+
+
+ {{ detailData.moneyChangeCategory }}
+
+
+ {{ detailData.fileUrl }}
+
+
+ {{ detailData.memo }}
+
+
+ {{ detailData.creatorId }}
+
+
+ {{ detailData.modifierId }}
+
+
+ {{ detailData.createTime }}
+
+
+ {{ detailData.modifyTime }}
+
+
+ {{ detailData.deleted }}
+
+
+
+
+
+
+
+
diff --git a/src/pages/fin/money-flow/MoneyFlowForm.vue b/src/pages/fin/money-flow/MoneyFlowForm.vue
new file mode 100644
index 0000000..82ce455
--- /dev/null
+++ b/src/pages/fin/money-flow/MoneyFlowForm.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/fin/money-flow/money-flow-api.ts b/src/pages/fin/money-flow/money-flow-api.ts
new file mode 100644
index 0000000..095ef47
--- /dev/null
+++ b/src/pages/fin/money-flow/money-flow-api.ts
@@ -0,0 +1,22 @@
+import {
+ get,
+ post,
+} from '@/common/utils/http-util.ts'
+
+export default {
+ paging(data: MoneyFlowTypes.SearchMoneyFlowParam) {
+ return get>('/money_flow/paging', data)
+ },
+ detail(id: string) {
+ return get('/money_flow/detail', {id})
+ },
+ add(data: MoneyFlowTypes.AddMoneyFlowParam) {
+ return post('/money_flow/add', data)
+ },
+ modify(data: MoneyFlowTypes.ModifyMoneyFlowParam) {
+ return post('/money_flow/modify', data)
+ },
+ del(ids: string[]) {
+ return post('/money_flow/del', ids)
+ },
+}
diff --git a/src/pages/fin/money-flow/money-flow.d.ts b/src/pages/fin/money-flow/money-flow.d.ts
new file mode 100644
index 0000000..9982fe8
--- /dev/null
+++ b/src/pages/fin/money-flow/money-flow.d.ts
@@ -0,0 +1,145 @@
+export {}
+
+declare global {
+ namespace MoneyFlowTypes {
+ interface SearchMoneyFlowParam extends G.PageParam {
+ // Id
+ id?: string
+ // 订单 Id
+ orderId?: string
+ // 订单编号
+ orderSn?: string
+ // 车次
+ trainNum?: number
+ // 资金账户 Id;fin_money_account.id
+ moneyAccountId?: string
+ // 变动前余额
+ beforeBalance?: string
+ // 变动金额;有正负
+ delta?: string
+ // 变动后余额
+ afterBalance?: string
+ // 变动类型;字典代码:money_change_category,ChongZhi-->充值、YingShou-->营收、TuiKuan-->退款、TiaoZhang-->调账、ZhiFu-->支付
+ moneyChangeCategory?: string
+ // 附件地址
+ fileUrl?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface SearchMoneyFlowResult {
+ // Id
+ id?: string
+ // 订单 Id
+ orderId?: string
+ // 订单编号
+ orderSn?: string
+ // 车次
+ trainNum?: number
+ // 资金账户 Id;fin_money_account.id
+ moneyAccountId?: string
+ // 变动前余额
+ beforeBalance?: string
+ // 变动金额;有正负
+ delta?: string
+ // 变动后余额
+ afterBalance?: string
+ // 变动类型;字典代码:money_change_category,ChongZhi-->充值、YingShou-->营收、TuiKuan-->退款、TiaoZhang-->调账、ZhiFu-->支付
+ moneyChangeCategory?: string
+ // 附件地址
+ fileUrl?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface AddMoneyFlowParam {
+ // Id
+ id?: string
+ // 订单 Id
+ orderId?: string
+ // 订单编号
+ orderSn?: string
+ // 车次
+ trainNum?: number
+ // 资金账户 Id;fin_money_account.id
+ moneyAccountId?: string
+ // 变动前余额
+ beforeBalance?: string
+ // 变动金额;有正负
+ delta?: string
+ // 变动后余额
+ afterBalance?: string
+ // 变动类型;字典代码:money_change_category,ChongZhi-->充值、YingShou-->营收、TuiKuan-->退款、TiaoZhang-->调账、ZhiFu-->支付
+ moneyChangeCategory?: string
+ // 附件地址
+ fileUrl?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+
+ interface ModifyMoneyFlowParam {
+ // Id
+ id?: string
+ // 订单 Id
+ orderId?: string
+ // 订单编号
+ orderSn?: string
+ // 车次
+ trainNum?: number
+ // 资金账户 Id;fin_money_account.id
+ moneyAccountId?: string
+ // 变动前余额
+ beforeBalance?: string
+ // 变动金额;有正负
+ delta?: string
+ // 变动后余额
+ afterBalance?: string
+ // 变动类型;字典代码:money_change_category,ChongZhi-->充值、YingShou-->营收、TuiKuan-->退款、TiaoZhang-->调账、ZhiFu-->支付
+ moneyChangeCategory?: string
+ // 附件地址
+ fileUrl?: string
+ // 备注
+ memo?: string
+ // 创建人 Id;sys_user.id
+ creatorId?: string
+ // 修改人 Id; sys_user.id
+ modifierId?: string
+ // 创建时间
+ createTime?: string
+ // 修改时间
+ modifyTime?: string
+ // 是否删除; 0-->未删除、1-->已删除
+ deleted?: boolean
+ }
+ }
+}
diff --git a/src/pages/fin/money-flow/page.ts b/src/pages/fin/money-flow/page.ts
new file mode 100644
index 0000000..d15b20b
--- /dev/null
+++ b/src/pages/fin/money-flow/page.ts
@@ -0,0 +1,3 @@
+export default {
+ component: () => import('@/pages/fin/money-flow/MoneyFlow.vue'),
+} as RouterTypes.RouteConfig
diff --git a/src/pages/gds/goods-category/GoodsCategoryForm.vue b/src/pages/gds/goods-category/GoodsCategoryForm.vue
index 18c11ac..32ef990 100644
--- a/src/pages/gds/goods-category/GoodsCategoryForm.vue
+++ b/src/pages/gds/goods-category/GoodsCategoryForm.vue
@@ -38,7 +38,7 @@ import GoodsCategoryApi from '@/pages/gds/goods-category/goods-category-api.ts'
import Strings from '@/common/utils/strings.ts'
import Uploader from '@/components/uploader/Uploader.vue'
import { type FormRules } from 'element-plus'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import { bizType } from '@/pages/gds/goods-category/constants.ts'
import type { ComponentExposed } from 'vue-component-type-helpers'
diff --git a/src/pages/gds/goods/GoodsForm.vue b/src/pages/gds/goods/GoodsForm.vue
index 31e0dba..0ed681d 100644
--- a/src/pages/gds/goods/GoodsForm.vue
+++ b/src/pages/gds/goods/GoodsForm.vue
@@ -89,7 +89,7 @@ import GoodsApi from '@/pages/gds/goods/goods-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import Uploader from '@/components/uploader/Uploader.vue'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import GoodsCategoryDropTable from '@/pages/gds/goods-category/GoodsCategoryDropTable.vue'
import type { ComponentExposed } from 'vue-component-type-helpers'
import {
diff --git a/src/pages/order/book/Book.vue b/src/pages/order/book/Book.vue
index 4d18564..6412a9c 100644
--- a/src/pages/order/book/Book.vue
+++ b/src/pages/order/book/Book.vue
@@ -59,7 +59,7 @@
-
+
@@ -67,14 +67,14 @@
-
+
-
+
-
+
-
-
+
+
diff --git a/src/pages/order/cancel/Cancel.vue b/src/pages/order/cancel/Cancel.vue
index 7882c46..d212733 100644
--- a/src/pages/order/cancel/Cancel.vue
+++ b/src/pages/order/cancel/Cancel.vue
@@ -59,7 +59,7 @@
-
+
@@ -67,14 +67,14 @@
-
+
-
+
-
+
-
-
+
+
diff --git a/src/pages/order/history/History.vue b/src/pages/order/history/History.vue
index 6e639ca..6cb15c6 100644
--- a/src/pages/order/history/History.vue
+++ b/src/pages/order/history/History.vue
@@ -59,7 +59,7 @@
-
+
@@ -67,14 +67,14 @@
-
+
-
+
-
+
-
-
+
+
diff --git a/src/pages/order/realtime/Realtime.vue b/src/pages/order/realtime/Realtime.vue
index 62431d0..1e6c52f 100644
--- a/src/pages/order/realtime/Realtime.vue
+++ b/src/pages/order/realtime/Realtime.vue
@@ -59,7 +59,7 @@
-
+
@@ -67,14 +67,14 @@
-
+
-
+
-
+
-
-
+
+
diff --git a/src/pages/wh/in-order/InOrderForm.vue b/src/pages/wh/in-order/InOrderForm.vue
index 29ee582..2c3076f 100644
--- a/src/pages/wh/in-order/InOrderForm.vue
+++ b/src/pages/wh/in-order/InOrderForm.vue
@@ -56,7 +56,7 @@ import InOrderApi from '@/pages/wh/in-order/in-order-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import type { ComponentExposed } from 'vue-component-type-helpers'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
const props = withDefaults(defineProps<{
research?: () => void
diff --git a/src/pages/wh/inventory/InventoryForm.vue b/src/pages/wh/inventory/InventoryForm.vue
index 10bab9a..d9d2da7 100644
--- a/src/pages/wh/inventory/InventoryForm.vue
+++ b/src/pages/wh/inventory/InventoryForm.vue
@@ -5,6 +5,7 @@
:do-submit="doSubmit"
:rules="rules"
:title="status === 'add' ? '新建项目' : '修改项目'"
+
>
@@ -52,7 +53,7 @@ import InventoryApi from '@/pages/wh/inventory/inventory-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import type { ComponentExposed } from 'vue-component-type-helpers'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
const props = withDefaults(defineProps<{
research?: () => void
diff --git a/src/pages/wh/out-order/OutOrderForm.vue b/src/pages/wh/out-order/OutOrderForm.vue
index da703a2..08a1524 100644
--- a/src/pages/wh/out-order/OutOrderForm.vue
+++ b/src/pages/wh/out-order/OutOrderForm.vue
@@ -67,7 +67,7 @@ import SalesOrderApi from '@/pages/wh/sales-order/sales-order-api.ts'
import WarehouseApi from '@/pages/wh/warehouse/warehouse-api.ts'
import ASelect from '@/components/a-select/ASelect.vue'
import UserApi from '@/pages/sys/user/user-api.ts'
-import type AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import type AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import type { ComponentExposed } from 'vue-component-type-helpers'
const props = withDefaults(defineProps<{
diff --git a/src/pages/wh/purchase-order/PurchaseOrderForm.vue b/src/pages/wh/purchase-order/PurchaseOrderForm.vue
index 36963d1..1c491b1 100644
--- a/src/pages/wh/purchase-order/PurchaseOrderForm.vue
+++ b/src/pages/wh/purchase-order/PurchaseOrderForm.vue
@@ -53,7 +53,7 @@ import PurchaseOrderApi from '@/pages/wh/purchase-order/purchase-order-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import type { ComponentExposed } from 'vue-component-type-helpers'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
const props = withDefaults(defineProps<{
research?: () => void
diff --git a/src/pages/wh/sales-order/SalesOrderForm.vue b/src/pages/wh/sales-order/SalesOrderForm.vue
index a4dddd4..d7a52a2 100644
--- a/src/pages/wh/sales-order/SalesOrderForm.vue
+++ b/src/pages/wh/sales-order/SalesOrderForm.vue
@@ -70,7 +70,7 @@ import SalesOrderApi from '@/pages/wh/sales-order/sales-order-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import type { ComponentExposed } from 'vue-component-type-helpers'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
import { salesOrderStatus } from '@/pages/wh/sales-order/constants.ts'
const props = withDefaults(defineProps<{
diff --git a/src/pages/wh/warehouse/WarehouseForm.vue b/src/pages/wh/warehouse/WarehouseForm.vue
index 209c1bf..256fc9a 100644
--- a/src/pages/wh/warehouse/WarehouseForm.vue
+++ b/src/pages/wh/warehouse/WarehouseForm.vue
@@ -31,7 +31,7 @@ import WarehouseApi from '@/pages/wh/warehouse/warehouse-api.ts'
import Strings from '@/common/utils/strings.ts'
import { type FormRules } from 'element-plus'
import type { ComponentExposed } from 'vue-component-type-helpers'
-import AFormPanel from '@/components/a-form-panel/AFormPanel.vue'
+import AFormPanel from '@/components/a-form-panel/AFormPanel.tsx'
const props = withDefaults(defineProps<{
research?: () => void