Commit d9092c94 by 张珈源

feat(ckgl): 更新生产入库单据配置和数据模型

- 将搜索表单中的库存组织字段替换为单据编号字段
- 为仓库字段添加字典数据源支持多选和搜索功能
- 新增业务组织和单据状态字段到搜索表单
- 更新表格列配置以匹配新的字段结构
- 为单据编号设置自动生成码组件
- 在主表单中添加业务组织和单据状态下拉选择
- 调整工作流权限配置以反映字段变更
- 更新API模型接口定义以匹配新字段
- 在按钮配置中添加唯一标识符字段
- 移除多个字段的maxlength属性以简化配置
parent d5fae1bb
...@@ -4,13 +4,15 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; ...@@ -4,13 +4,15 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
* @description: MesWarehouseProduct分页参数 模型 * @description: MesWarehouseProduct分页参数 模型
*/ */
export interface MesWarehouseProductPageParams extends BasicPageParams { export interface MesWarehouseProductPageParams extends BasicPageParams {
kczz: string; djbh: string;
ck: string; ck: string;
kgy: string;
scbm: string; scbm: string;
ywzz: string;
djzt: string;
} }
/** /**
...@@ -19,12 +21,8 @@ export interface MesWarehouseProductPageParams extends BasicPageParams { ...@@ -19,12 +21,8 @@ export interface MesWarehouseProductPageParams extends BasicPageParams {
export interface MesWarehouseProductPageModel { export interface MesWarehouseProductPageModel {
id: string; id: string;
kczz: string;
djrq: string; djrq: string;
ck: string;
crklx: string; crklx: string;
kgy: string; kgy: string;
...@@ -33,7 +31,13 @@ export interface MesWarehouseProductPageModel { ...@@ -33,7 +31,13 @@ export interface MesWarehouseProductPageModel {
djbh: string; djbh: string;
ck: string;
ywzz: string;
djzt: string; djzt: string;
bz: string;
} }
/** /**
...@@ -44,7 +48,7 @@ export interface MesWarehouseProductModel { ...@@ -44,7 +48,7 @@ export interface MesWarehouseProductModel {
deleteMark: string; deleteMark: string;
kczz: string; ywzz: string;
djrq: string; djrq: string;
...@@ -186,6 +190,8 @@ export interface MesWarehouseProductInfoModel { ...@@ -186,6 +190,8 @@ export interface MesWarehouseProductInfoModel {
modifyDate: string; modifyDate: string;
modifyUserId: string; modifyUserId: string;
rkdh: string;
} }
/** /**
......
export const permissionList = [ export const permissionList = [
{ {
required: true, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: true,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '库存组织', fieldName: '单据编号',
fieldId: 'kczz', fieldId: 'djbh',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'auto-code',
key: 'b7fc1a99eb11469fbffd723f8ce0629f', key: '783643292ed9482fae0d3a37d2ebef65',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
...@@ -44,11 +43,10 @@ export const permissionList = [ ...@@ -44,11 +43,10 @@ export const permissionList = [
fieldId: 'ck', fieldId: 'ck',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'select',
key: '0f17a0106f2348bbbc3d19889815b9c7', key: '7a643e99ca7242c9a606dc550981d6af',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
...@@ -108,15 +106,14 @@ export const permissionList = [ ...@@ -108,15 +106,14 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '单据编号', fieldName: '业务组织',
fieldId: 'djbh', fieldId: 'ywzz',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'select',
key: 'd5e600afe891410882c273a7bc1b2ca2', key: 'b4b870255bc248e3adb580c6dbcbaac1',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
...@@ -129,11 +126,10 @@ export const permissionList = [ ...@@ -129,11 +126,10 @@ export const permissionList = [
fieldId: 'djzt', fieldId: 'djzt',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'select',
key: '320589395feb4544a4c0b9ff283e3b2f', key: '16ad4aafe99c4797966fc6e01bc63e90',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
//展示在列表内的按钮 //展示在列表内的按钮
const actionButtons = ref<string[]>(["view","edit","delete"]); const actionButtons = ref<string[]>(["view","edit","delete"]);
const buttonConfigs = computed(()=>{ 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":"delete","icon":"ant-design:delete-outlined","isDefault":true}] const list = [{"buttonId":"2010538548100980736","name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2010538548100980737","name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true,"isUse":true},{"buttonId":"2010538548100980738","name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isUse":true,"isEnableLock":true},{"buttonId":"2010538548100980739","name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true,"isUse":true}]
return filterButtonAuth(list); 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