Commit 4fc271ac by 张珈源

feat(ckgl): 更新销售出库模块配置和数据模型

- 移除部门字段配置和对应的数据模型属性
- 添加单据编号、承运单位、收货日期、收货地址、收货人、备注等新字段配置
- 为表格列添加排序和调整大小功能
- 清理字段配置中的多余属性如maxlength和defaultSelect
- 更新按钮配置结构,添加buttonId标识
- 同步更新数据模型以匹配新的字段结构
parent d344eeca
......@@ -9,8 +9,6 @@ export interface MesWarehouseSaleoutPageParams extends BasicPageParams {
ck: string;
jbr: string;
bm: string;
}
/**
......@@ -34,6 +32,18 @@ export interface MesWarehouseSaleoutPageModel {
ddkh: string;
djzt: string;
djbh: string;
cydw: string;
shrq: string;
shdz: string;
shr: string;
bz: string;
}
/**
......
......@@ -21,12 +21,6 @@ export const searchFormSchema: FormSchema[] = [
defaultValue: undefined,
component: 'Input',
},
{
field: 'bm',
label: '部门',
defaultValue: undefined,
component: 'Input',
},
];
export const columns: BasicColumn[] = [
......@@ -133,6 +127,84 @@ export const columns: BasicColumn[] = [
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'djbh',
title: '单据编号',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
{
resizable: true,
dataIndex: 'cydw',
title: '承运单位',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
{
resizable: true,
dataIndex: 'shrq',
title: '收货日期',
componentType: 'date',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'shdz',
title: '收货地址',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
{
resizable: true,
dataIndex: 'shr',
title: '收货人',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
{
resizable: true,
dataIndex: 'bz',
title: '备注',
componentType: 'textarea',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
];
//表头合并配置
export const headerMergingData = [];
......@@ -229,7 +301,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入库存组织',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -300,7 +371,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入仓库',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -347,7 +417,6 @@ export const formProps: FormProps = {
{ key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' },
],
defaultSelect: null,
datasourceType: 'dic',
params: { itemId: '2010533622867509249' },
labelField: 'name',
......@@ -385,7 +454,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入经办人',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -424,7 +492,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入部门',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -463,7 +530,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入订单客户',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -510,7 +576,6 @@ export const formProps: FormProps = {
{ key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' },
],
defaultSelect: null,
datasourceType: 'dic',
params: { itemId: '2010588655764074497' },
labelField: 'name',
......@@ -548,7 +613,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入单据编号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -587,7 +651,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入承运单位',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -658,7 +721,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入收货地址',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -697,7 +759,6 @@ export const formProps: FormProps = {
span: 8,
defaultValue: '',
placeholder: '请输入收货人',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -736,7 +797,6 @@ export const formProps: FormProps = {
span: 2,
defaultValue: '',
placeholder: '请输入备注',
maxlength: null,
rows: 4,
autoSize: false,
showCount: false,
......@@ -820,7 +880,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入物料编码',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -851,7 +910,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入物料名称',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -882,7 +940,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入规格',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -913,7 +970,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入型号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -944,7 +1000,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入批次号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -975,9 +1030,7 @@ export const formProps: FormProps = {
span: '',
defaultValue: 0,
min: 0,
max: null,
step: 1,
maxlength: null,
disabled: false,
showLabel: true,
controls: true,
......@@ -1001,9 +1054,7 @@ export const formProps: FormProps = {
span: '',
defaultValue: 0,
min: 0,
max: null,
step: 1,
maxlength: null,
disabled: false,
showLabel: true,
controls: true,
......@@ -1027,9 +1078,7 @@ export const formProps: FormProps = {
span: '',
defaultValue: 0,
min: 0,
max: null,
step: 1,
maxlength: null,
disabled: false,
showLabel: true,
controls: true,
......@@ -1053,7 +1102,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入单位',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -1084,7 +1132,6 @@ export const formProps: FormProps = {
span: '',
defaultValue: '',
placeholder: '请输入备注',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......
......@@ -141,7 +141,7 @@
//展示在列表内的按钮
const actionButtons = ref<string[]>(["view","edit","delete"]);
const buttonConfigs = computed(()=>{
const list = [{"isUse":true,"name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true},{"isUse":true,"name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true},{"isUse":true,"name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isEnableLock":true},{"isUse":true,"name":"快速导入","code":"import","icon":"ant-design:import-outlined","isDefault":true},{"isUse":true,"name":"快速导出","code":"export","icon":"ant-design:export-outlined","isDefault":true},{"isUse":true,"name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true}]
const list = [{"buttonId":"2010591769687232512","name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2010591769687232513","name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true,"isUse":true},{"buttonId":"2010591769687232514","name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isUse":true,"isEnableLock":true},{"buttonId":"2010591769687232515","name":"快速导入","code":"import","icon":"ant-design:import-outlined","isDefault":true,"isUse":true},{"buttonId":"2010591769687232516","name":"快速导出","code":"export","icon":"ant-design:export-outlined","isDefault":true,"isUse":true},{"buttonId":"2010591769687232517","name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true,"isUse":true}]
return filterButtonAuth(list);
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment