Commit 371832af by 张珈源

refactor(ckgl): 更新出入库管理配置和字段映射

- 将入库单配置中的部分字段设置为禁用状态
- 修改默认选择值从数字ID改为中文描述
- 调整搜索表单字段映射关系
- 重新排列表格列的顺序和组件类型
- 更新工作流权限配置中的字段定义
- 修改销售出库模型接口字段映射
- 添加新的业务组织和批次号字段支持
- 调整表单布局和组件属性配置
parent 0d7bce99
......@@ -4,11 +4,13 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
* @description: MesWarehouseSaleout分页参数 模型
*/
export interface MesWarehouseSaleoutPageParams extends BasicPageParams {
kczz: string;
djbh: string;
ck: string;
jbr: string;
ywzz: string;
pch: string;
}
/**
......@@ -17,7 +19,7 @@ export interface MesWarehouseSaleoutPageParams extends BasicPageParams {
export interface MesWarehouseSaleoutPageModel {
id: string;
kczz: string;
djbh: string;
djrq: string;
......@@ -29,11 +31,9 @@ export interface MesWarehouseSaleoutPageModel {
bm: string;
ddkh: string;
djzt: string;
pch: string;
djbh: string;
ddkh: string;
cydw: string;
......@@ -43,6 +43,10 @@ export interface MesWarehouseSaleoutPageModel {
shr: string;
ywzz: string;
djzt: string;
bz: string;
}
......@@ -54,7 +58,7 @@ export interface MesWarehouseSaleoutModel {
deleteMark: string;
kczz: string;
ywzz: string;
djrq: string;
......@@ -68,6 +72,8 @@ export interface MesWarehouseSaleoutModel {
ddkh: string;
pch: string;
djzt: string;
djbh: string;
......@@ -187,6 +193,8 @@ export interface MesWarehouseSaleoutInfoModel {
bz: string;
ckdh: string;
p1: string;
p2: string;
......
......@@ -401,13 +401,13 @@ export const formProps: FormProps = {
showSearch: false,
isMultiple: false,
clearable: false,
disabled: false,
disabled: true,
staticOptions: [
{ key: 1, label: 'Option 1', value: 'Option 1' },
{ key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' },
],
defaultSelect: '2',
defaultSelect: '入库',
datasourceType: 'dic',
params: { itemId: '2010533622867509249' },
labelField: 'name',
......@@ -568,7 +568,7 @@ export const formProps: FormProps = {
showSearch: false,
isMultiple: false,
clearable: false,
disabled: false,
disabled: true,
staticOptions: [
{ key: 1, label: 'Option 1', value: 'Option 1' },
{ key: 2, label: 'Option 2', value: 'Option 2' },
......@@ -590,6 +590,7 @@ export const formProps: FormProps = {
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
itemId: '2016321281785163777',
defaultSelect: '已下发',
style: { width: '100%' },
},
},
......@@ -611,7 +612,6 @@ export const formProps: FormProps = {
span: 7,
defaultValue: '',
placeholder: '请输入批次号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -886,46 +886,41 @@ export const formProps: FormProps = {
},
},
{
key: 'f4f6844ab6454be7af329f780e80447f',
title: '批次号',
dataIndex: 'pch',
componentType: 'Input',
key: '5fa9ca15c8b84592b93abbd7702d1306',
title: '实收件数',
dataIndex: 'ssjs',
componentType: 'InputNumber',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入批次号',
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
min: 0,
step: 1,
disabled: false,
allowClear: false,
showLabel: true,
controls: true,
required: false,
subTotal: false,
isShow: true,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
placeholder: '请输入实收件数',
tooltipConfig: { visible: false, title: '提示文本' },
listStyle: "return 'width:100%'",
},
},
{
key: '5d9a11c345e24ff59f416012ae5fb4c1',
title: '货位',
dataIndex: 'hw',
key: 'f4f6844ab6454be7af329f780e80447f',
title: '批次号',
dataIndex: 'pch',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入货位',
placeholder: '请输入批次号',
prefix: '',
suffix: '',
addonBefore: '',
......@@ -946,16 +941,16 @@ export const formProps: FormProps = {
},
},
{
key: 'daec33570ef04811860b88bfe4b743d7',
title: '实收件数',
dataIndex: 'ssjs',
key: '5d9a11c345e24ff59f416012ae5fb4c1',
title: '货位',
dataIndex: 'hw',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入实收件数',
placeholder: '请输入货位',
prefix: '',
suffix: '',
addonBefore: '',
......
......@@ -51,7 +51,7 @@ export const permissionList = [
{
required: false,
view: true,
edit: true,
edit: false,
disabled: false,
isSaveTable: false,
tableName: '',
......@@ -63,7 +63,7 @@ export const permissionList = [
key: '2ebc5694329846dc975c563118968daa',
children: [],
options: {},
defaultValue: '2',
defaultValue: '入库',
},
{
required: false,
......@@ -118,7 +118,7 @@ export const permissionList = [
{
required: false,
view: true,
edit: true,
edit: false,
disabled: false,
isSaveTable: false,
tableName: '',
......@@ -130,6 +130,7 @@ export const permissionList = [
key: '16ad4aafe99c4797966fc6e01bc63e90',
children: [],
options: {},
defaultValue: '已下发',
},
{
required: false,
......@@ -281,10 +282,10 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesWarehouseProductInfoList',
fieldName: '批次号',
fieldId: 'pch',
type: 'Input',
key: 'f4f6844ab6454be7af329f780e80447f',
fieldName: '实收件数',
fieldId: 'ssjs',
type: 'InputNumber',
key: '5fa9ca15c8b84592b93abbd7702d1306',
children: [],
},
{
......@@ -296,10 +297,10 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesWarehouseProductInfoList',
fieldName: '货位',
fieldId: 'hw',
fieldName: '批次号',
fieldId: 'pch',
type: 'Input',
key: '5d9a11c345e24ff59f416012ae5fb4c1',
key: 'f4f6844ab6454be7af329f780e80447f',
children: [],
},
{
......@@ -311,10 +312,10 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesWarehouseProductInfoList',
fieldName: '实收件数',
fieldId: 'ssjs',
fieldName: '货位',
fieldId: 'hw',
type: 'Input',
key: 'daec33570ef04811860b88bfe4b743d7',
key: '5d9a11c345e24ff59f416012ae5fb4c1',
children: [],
},
{
......
......@@ -4,8 +4,8 @@ import { uploadApi } from '/@/api/sys/upload';
export const searchFormSchema: FormSchema[] = [
{
field: 'kczz',
label: '库存组织',
field: 'djbh',
label: '单据编号',
defaultValue: undefined,
component: 'Input',
},
......@@ -16,8 +16,23 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input',
},
{
field: 'jbr',
label: '经办人',
field: 'ywzz',
label: '业务组织',
defaultValue: undefined,
component: 'XjrSelect',
componentProps: {
datasourceType: 'dic',
params: { itemId: '2015724355955159041' },
labelField: 'name',
valueField: 'value',
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
},
},
{
field: 'pch',
label: '批次号',
defaultValue: undefined,
component: 'Input',
},
......@@ -26,15 +41,15 @@ export const searchFormSchema: FormSchema[] = [
export const columns: BasicColumn[] = [
{
resizable: true,
dataIndex: 'kczz',
title: '库存组织',
componentType: 'input',
dataIndex: 'djbh',
title: '单据编号',
componentType: 'auto-code',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
listStyle: undefined,
},
{
......@@ -104,8 +119,8 @@ export const columns: BasicColumn[] = [
{
resizable: true,
dataIndex: 'ddkh',
title: '订单客户',
dataIndex: 'pch',
title: '批次号',
componentType: 'input',
fixed: false,
......@@ -117,28 +132,15 @@ export const columns: BasicColumn[] = [
{
resizable: true,
dataIndex: 'djzt',
title: '单据状态',
componentType: 'select',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'djbh',
title: '单据编号',
componentType: 'auto-code',
dataIndex: 'ddkh',
title: '订单客户',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
listStyle: '',
},
{
......@@ -195,6 +197,32 @@ export const columns: BasicColumn[] = [
{
resizable: true,
dataIndex: 'ywzz',
title: '业务组织',
componentType: 'select',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'djzt',
title: '单据状态',
componentType: 'select',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'bz',
title: '备注',
componentType: 'textarea',
......@@ -289,34 +317,24 @@ export const formProps: FormProps = {
span: 6,
list: [
{
key: 'd45d2f98fcef445d8b777914fd4193f2',
field: 'kczz',
label: '库存组织',
type: 'input',
component: 'Input',
key: '160979df6a214cb590fa0b8f20bcd98c',
field: 'djbh',
label: '单据编号',
type: 'auto-code',
component: 'AutoCodeRule',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 8,
defaultValue: '',
placeholder: '请输入库存组织',
placeholder: '请输入单据编号',
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
autoCodeRule: 'XSCK',
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' },
},
......@@ -601,25 +619,43 @@ export const formProps: FormProps = {
span: 6,
list: [
{
key: '160979df6a214cb590fa0b8f20bcd98c',
field: 'djbh',
label: '单据编号',
type: 'auto-code',
component: 'AutoCodeRule',
key: '0c1920884b36455b88ead8d844503ad4',
field: 'ywzz',
label: '业务组织',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
componentProps: {
width: '100%',
span: 7,
placeholder: '请输入单据编号',
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
span: 8,
placeholder: '请选择业务组织',
showLabel: true,
autoCodeRule: 'XSCK',
required: false,
showSearch: false,
isMultiple: false,
clearable: false,
disabled: false,
staticOptions: [
{ key: 1, label: 'Option 1', value: 'Option 1' },
{ key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' },
],
defaultSelect: null,
datasourceType: 'dic',
params: { itemId: '2015724355955159041' },
labelField: 'name',
valueField: 'value',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
dicOptions: [],
required: true,
rules: [],
events: {},
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
itemId: '2015724355955159041',
style: { width: '100%' },
},
},
......@@ -772,32 +808,38 @@ export const formProps: FormProps = {
],
},
{
span: 24,
span: 6,
list: [
{
key: 'c6c4bc8735f141829c4712c0433c907e',
field: 'bz',
label: '备注',
type: 'textarea',
component: 'InputTextArea',
key: '90803d7f28ce4e2e92678ff6e0a3fc45',
field: 'pch',
label: '批次号',
type: 'input',
component: 'Input',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 2,
span: 8,
defaultValue: '',
placeholder: '请输入备注',
rows: 4,
autoSize: false,
showCount: false,
placeholder: '请输入批次号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
showLabel: true,
allowClear: false,
showLabel: true,
required: false,
isShow: true,
isShowAi: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' },
},
......@@ -834,6 +876,39 @@ export const formProps: FormProps = {
},
],
},
{
span: 24,
list: [
{
key: 'c6c4bc8735f141829c4712c0433c907e',
field: 'bz',
label: '备注',
type: 'textarea',
component: 'InputTextArea',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 2,
defaultValue: '',
placeholder: '请输入备注',
rows: 4,
autoSize: false,
showCount: false,
disabled: false,
showLabel: true,
allowClear: false,
required: false,
isShow: true,
isShowAi: false,
rules: [],
events: {},
tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' },
},
},
],
},
],
componentProps: {
gutter: 16,
......
......@@ -2,19 +2,18 @@ export const permissionList = [
{
required: false,
view: true,
edit: true,
disabled: false,
edit: false,
disabled: true,
isSaveTable: false,
tableName: '',
fieldName: '库存组织',
fieldId: 'kczz',
fieldName: '单据编号',
fieldId: 'djbh',
isSubTable: false,
showChildren: true,
type: 'input',
key: 'd45d2f98fcef445d8b777914fd4193f2',
type: 'auto-code',
key: '160979df6a214cb590fa0b8f20bcd98c',
children: [],
options: {},
defaultValue: '',
},
{
required: false,
......@@ -134,18 +133,18 @@ export const permissionList = [
options: {},
},
{
required: false,
required: true,
view: true,
edit: false,
disabled: true,
edit: true,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '单据编号',
fieldId: 'djbh',
fieldName: '业务组织',
fieldId: 'ywzz',
isSubTable: false,
showChildren: true,
type: 'auto-code',
key: '160979df6a214cb590fa0b8f20bcd98c',
type: 'select',
key: '0c1920884b36455b88ead8d844503ad4',
children: [],
options: {},
},
......@@ -224,12 +223,12 @@ export const permissionList = [
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '备注',
fieldId: 'bz',
fieldName: '批次号',
fieldId: 'pch',
isSubTable: false,
showChildren: true,
type: 'textarea',
key: 'c6c4bc8735f141829c4712c0433c907e',
type: 'input',
key: '90803d7f28ce4e2e92678ff6e0a3fc45',
children: [],
options: {},
defaultValue: '',
......@@ -252,6 +251,23 @@ export const permissionList = [
defaultValue: '',
},
{
required: false,
view: true,
edit: true,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '备注',
fieldId: 'bz',
isSubTable: false,
showChildren: true,
type: 'textarea',
key: 'c6c4bc8735f141829c4712c0433c907e',
children: [],
options: {},
defaultValue: '',
},
{
required: true,
view: true,
edit: true,
......
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