新增前端vue
This commit is contained in:
@@ -3,11 +3,6 @@ package com.jeesite.modules.erp.entity;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.jeesite.common.mybatis.annotation.JoinTable;
|
||||
import com.jeesite.common.mybatis.annotation.JoinTable.Type;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import jakarta.validation.constraints.Size;
|
||||
|
||||
import com.jeesite.common.entity.DataEntity;
|
||||
import com.jeesite.common.mybatis.annotation.Column;
|
||||
import com.jeesite.common.mybatis.annotation.Table;
|
||||
@@ -24,9 +19,7 @@ import java.io.Serial;
|
||||
* @version 2025-12-10
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "erp_exp_inc", alias = "a", label = "收支信息信息", columns = {
|
||||
@Column(name = "create_time", attrName = "createTime", label = "记录时间", isUpdateForce = true),
|
||||
@Column(name = "id", attrName = "id", label = "主键ID", isPK = true),
|
||||
@Table(name = "erp_exp_inc_view", alias = "a", label = "收支信息", columns = {
|
||||
@Column(name = "account_name", attrName = "accountName", label = "account_name", queryType = QueryType.LIKE),
|
||||
@Column(name = "stat_date", attrName = "statDate", label = "stat_date"),
|
||||
@Column(name = "cycle_type", attrName = "cycleType", label = "cycle_type"),
|
||||
|
||||
@@ -22,9 +22,7 @@ import java.io.Serial;
|
||||
* @version 2025-12-09
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "erp_summary_all", alias = "a", label = "汇总信息信息", columns = {
|
||||
@Column(name = "create_time", attrName = "createTime", label = "记录时间", isQuery = false, isUpdateForce = true),
|
||||
@Column(name = "id", attrName = "id", label = "主键ID", isPK = true),
|
||||
@Table(name = "erp_summary_all_view", alias = "a", label = "汇总信息信息", columns = {
|
||||
@Column(name = "c_date", attrName = "cdate", label = "汇总日期"),
|
||||
@Column(name = "c_type", attrName = "ctype", label = "交易类型"),
|
||||
@Column(name = "this_value", attrName = "thisValue", label = "当期金额", isQuery = false, isUpdateForce = true),
|
||||
|
||||
@@ -24,7 +24,7 @@ import * as echarts from 'echarts';
|
||||
|
||||
const defaultFormValues = {
|
||||
ctype: '1',
|
||||
fcycle: 'D'
|
||||
fcycle: 'M'
|
||||
};
|
||||
|
||||
const currentFormValues = ref<Record<string, any>>({ ...defaultFormValues });
|
||||
@@ -32,7 +32,7 @@ const currentFormValues = ref<Record<string, any>>({ ...defaultFormValues });
|
||||
// 表单配置
|
||||
const schemas: FormSchema[] = [
|
||||
{
|
||||
label: '交易类型',
|
||||
label: '类型',
|
||||
field: 'ctype',
|
||||
component: 'Select',
|
||||
defaultValue: defaultFormValues.ctype,
|
||||
@@ -47,7 +47,7 @@ const schemas: FormSchema[] = [
|
||||
colProps: { md: 12, lg: 12 },
|
||||
},
|
||||
{
|
||||
label: '周期类型',
|
||||
label: '周期',
|
||||
field: 'fcycle',
|
||||
component: 'Select',
|
||||
defaultValue: defaultFormValues.fcycle,
|
||||
|
||||
@@ -28,13 +28,13 @@ import type {
|
||||
|
||||
// 表单默认值
|
||||
const defaultFormValues = ref({
|
||||
cycleType: 'D'
|
||||
cycleType: 'M'
|
||||
});
|
||||
|
||||
// 表单配置
|
||||
const schemas: FormSchema[] = [
|
||||
{
|
||||
label: '周期类型',
|
||||
label: '周期',
|
||||
field: 'cycleType',
|
||||
defaultValue: defaultFormValues.value.cycleType,
|
||||
component: 'Select',
|
||||
|
||||
Reference in New Issue
Block a user