Commit c7cbd6c0 by 宋春膨

Merge remote-tracking branch 'origin/weiqiao-vue3' into weiqiao-vue3

parents 9ad58bbe b2e5cfc8
...@@ -17,15 +17,13 @@ export interface MesProductionTaskPageModel { ...@@ -17,15 +17,13 @@ export interface MesProductionTaskPageModel {
jhbh: string; jhbh: string;
rwbh: string;
cpid: string; cpid: string;
rch: string; rch: string;
zch: string; zch: string;
zl: string; sfnbdd: string;
jhksrq: string; jhksrq: string;
......
...@@ -11,7 +11,7 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -11,7 +11,7 @@ export const searchFormSchema: FormSchema[] = [
{ {
field: 'sfnbdd', field: 'sfnbdd',
label: '是否内部订单', label: '是否内部订单',
defaultValue: undefined, defaultValue: '',
component: 'XjrSelect', component: 'XjrSelect',
componentProps: { componentProps: {
datasourceType: 'staticData', datasourceType: 'staticData',
...@@ -44,19 +44,6 @@ export const columns: BasicColumn[] = [ ...@@ -44,19 +44,6 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'rwbh',
title: '任务编号',
componentType: 'auto-code',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'cpid', dataIndex: 'cpid',
title: '生产产品', title: '生产产品',
componentType: 'associate-popup', componentType: 'associate-popup',
...@@ -96,9 +83,18 @@ export const columns: BasicColumn[] = [ ...@@ -96,9 +83,18 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'zl', dataIndex: 'sfnbdd',
title: '重量/KG', title: '是否内部订单',
componentType: 'number', componentType: 'radio',
customRender: ({ record }) => {
const staticOptions = [
{ key: 2, label: '是', value: '1' },
{ key: 3, label: '否', value: '2' },
];
return staticOptions.filter((x) => x.value == record.sfnbdd)[0]?.label;
},
fixed: false, fixed: false,
sorter: true, sorter: true,
...@@ -110,8 +106,8 @@ export const columns: BasicColumn[] = [ ...@@ -110,8 +106,8 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'jhksrq', dataIndex: 'jhksrq',
title: '任务日期开始时间', title: '计划开始时间',
componentType: 'date-range', componentType: 'date',
fixed: false, fixed: false,
sorter: true, sorter: true,
...@@ -123,8 +119,8 @@ export const columns: BasicColumn[] = [ ...@@ -123,8 +119,8 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'jhjsrq', dataIndex: 'jhjsrq',
title: '任务日期结束时间', title: '计划结束时间',
componentType: 'date-range', componentType: 'date',
fixed: false, fixed: false,
sorter: true, sorter: true,
...@@ -257,7 +253,6 @@ export const formProps: FormProps = { ...@@ -257,7 +253,6 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入铸次号', placeholder: '请输入铸次号',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -267,10 +262,7 @@ export const formProps: FormProps = { ...@@ -267,10 +262,7 @@ export const formProps: FormProps = {
showLabel: true, showLabel: true,
required: false, required: false,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
listStyle: '', listStyle: '',
isSave: false, isSave: false,
isShow: true, isShow: true,
...@@ -334,10 +326,7 @@ export const formProps: FormProps = { ...@@ -334,10 +326,7 @@ export const formProps: FormProps = {
dicOptions: [], dicOptions: [],
required: true, required: true,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
...@@ -356,9 +345,7 @@ export const formProps: FormProps = { ...@@ -356,9 +345,7 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: 0, defaultValue: 0,
min: 0, min: 0,
max: null,
step: 0.1, step: 0.1,
maxlength: null,
disabled: false, disabled: false,
showLabel: true, showLabel: true,
controls: true, controls: true,
...@@ -366,10 +353,7 @@ export const formProps: FormProps = { ...@@ -366,10 +353,7 @@ export const formProps: FormProps = {
subTotal: false, subTotal: false,
isShow: true, isShow: true,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
}, },
...@@ -397,7 +381,6 @@ export const formProps: FormProps = { ...@@ -397,7 +381,6 @@ export const formProps: FormProps = {
], ],
defaultSelect: '', defaultSelect: '',
datasourceType: 'api', datasourceType: 'api',
params: null,
labelField: 'label', labelField: 'label',
valueField: 'value', valueField: 'value',
apiConfig: { apiConfig: {
...@@ -415,12 +398,46 @@ export const formProps: FormProps = { ...@@ -415,12 +398,46 @@ export const formProps: FormProps = {
dicOptions: [], dicOptions: [],
required: true, required: true,
rules: [], rules: [],
events: { change: "formActionType.refreshAPI('29977890304c441bae527eba5f019e46')" }, events: { change: '' },
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{
key: 'd66e5ebfa5d64b829fde596c82155158',
field: 'sfnbdd',
label: '是否内部订单',
type: 'radio',
component: 'ApiRadioGroup',
colProps: { span: 24 },
componentProps: {
span: 7,
showLabel: true,
disabled: false,
optionType: 'default',
staticOptions: [
{ key: 2, label: '是', value: '1' },
{ key: 3, label: '否', value: '2' },
],
datasourceType: 'staticData',
labelField: 'label',
valueField: 'value',
defaultSelect: '2',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
dicOptions: [],
required: false,
rules: [],
events: { change: '' },
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
style: {},
},
},
], ],
}, },
{ {
...@@ -438,13 +455,12 @@ export const formProps: FormProps = { ...@@ -438,13 +455,12 @@ export const formProps: FormProps = {
width: '100%', width: '100%',
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入计划编号计划编号', placeholder: '请输入计划编号计划编号计划编号',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
addonAfter: '', addonAfter: '',
disabled: false, disabled: true,
allowClear: false, allowClear: false,
showLabel: true, showLabel: true,
required: false, required: false,
...@@ -473,7 +489,6 @@ export const formProps: FormProps = { ...@@ -473,7 +489,6 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入合金状态', placeholder: '请输入合金状态',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -483,10 +498,7 @@ export const formProps: FormProps = { ...@@ -483,10 +498,7 @@ export const formProps: FormProps = {
showLabel: true, showLabel: true,
required: false, required: false,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
listStyle: '', listStyle: '',
isSave: false, isSave: false,
isShow: true, isShow: true,
...@@ -518,7 +530,6 @@ export const formProps: FormProps = { ...@@ -518,7 +530,6 @@ export const formProps: FormProps = {
{ key: 2, label: 'Option 2', value: 'Option 2' }, { key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' }, { key: 3, label: 'Option 3', value: 'Option 3' },
], ],
defaultSelect: null,
datasourceType: 'dic', datasourceType: 'dic',
params: { itemId: '2003761375221407745' }, params: { itemId: '2003761375221407745' },
labelField: 'name', labelField: 'name',
...@@ -551,7 +562,6 @@ export const formProps: FormProps = { ...@@ -551,7 +562,6 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入执行标准', placeholder: '请输入执行标准',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -561,10 +571,7 @@ export const formProps: FormProps = { ...@@ -561,10 +571,7 @@ export const formProps: FormProps = {
showLabel: true, showLabel: true,
required: false, required: false,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
listStyle: '', listStyle: '',
isSave: false, isSave: false,
isShow: true, isShow: true,
...@@ -598,7 +605,6 @@ export const formProps: FormProps = { ...@@ -598,7 +605,6 @@ export const formProps: FormProps = {
], ],
defaultSelect: '', defaultSelect: '',
datasourceType: 'api', datasourceType: 'api',
params: null,
labelField: 'label', labelField: 'label',
valueField: 'value', valueField: 'value',
apiConfig: { apiConfig: {
...@@ -639,8 +645,7 @@ export const formProps: FormProps = { ...@@ -639,8 +645,7 @@ export const formProps: FormProps = {
width: '100%', width: '100%',
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入铸造量', placeholder: '请输入铸造量铸造量',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -650,10 +655,7 @@ export const formProps: FormProps = { ...@@ -650,10 +655,7 @@ export const formProps: FormProps = {
showLabel: true, showLabel: true,
required: false, required: false,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
listStyle: '', listStyle: '',
isSave: false, isSave: false,
isShow: true, isShow: true,
...@@ -677,7 +679,6 @@ export const formProps: FormProps = { ...@@ -677,7 +679,6 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入客户', placeholder: '请输入客户',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -687,10 +688,7 @@ export const formProps: FormProps = { ...@@ -687,10 +688,7 @@ export const formProps: FormProps = {
showLabel: true, showLabel: true,
required: false, required: false,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
listStyle: '', listStyle: '',
isSave: false, isSave: false,
isShow: true, isShow: true,
...@@ -714,7 +712,6 @@ export const formProps: FormProps = { ...@@ -714,7 +712,6 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入规格', placeholder: '请输入规格',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -736,31 +733,31 @@ export const formProps: FormProps = { ...@@ -736,31 +733,31 @@ export const formProps: FormProps = {
}, },
}, },
{ {
key: 'e35543642daf4df5b48c636ce8bb3f4c', key: 'c522ec15933c4d448a448e4d67897aa0',
field: 'jhksrq,jhjsrq', field: 'jhksrq',
label: '任务日期', label: '计划开始时间',
type: 'date-range', type: 'date',
component: 'RangePicker', component: 'DatePicker',
colProps: { span: 24 },
defaultValue: '2026-01-07 17:00:09',
componentProps: { componentProps: {
span: 7, span: 7,
defaultValue: [], defaultValue: '2026-01-07 17:00:09',
width: '100%', width: '100%',
showTime: false, placeholder: '请选择计划开始时间',
format: 'YYYY-MM-DD', format: 'YYYY-MM-DD HH:mm:ss',
startTimePlaceholder: '请选择开始日期',
endTimePlaceholder: '请选择结束日期',
showLabel: true, showLabel: true,
disabled: false,
allowClear: true, allowClear: true,
disabled: false,
required: false, required: false,
isShow: true, isShow: true,
rules: [], rules: [],
events: {}, events: { change: '' },
isGetCurrent: false,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
searchType: 'time',
style: { width: '100%' }, style: { width: '100%' },
placeholder: ['请选择开始日期', '请选择结束日期'],
}, },
colProps: { span: 24 },
}, },
{ {
key: '21610208f2b8428e84de66979709d296', key: '21610208f2b8428e84de66979709d296',
...@@ -785,7 +782,6 @@ export const formProps: FormProps = { ...@@ -785,7 +782,6 @@ export const formProps: FormProps = {
], ],
defaultSelect: '2006262512610115585', defaultSelect: '2006262512610115585',
datasourceType: 'api', datasourceType: 'api',
params: null,
labelField: 'label', labelField: 'label',
valueField: 'value', valueField: 'value',
apiConfig: { apiConfig: {
...@@ -803,7 +799,10 @@ export const formProps: FormProps = { ...@@ -803,7 +799,10 @@ export const formProps: FormProps = {
dicOptions: [], dicOptions: [],
required: false, required: false,
rules: [], rules: [],
events: {}, events: {
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\nformModel.mesProductionGongdanList[i].jhksrq=formModel.jhksrq;\nformModel.mesProductionGongdanList[i].jhjsrq=formModel.jhjsrq;\nformModel.mesProductionGongdanList[i].zt="1";\n}',
},
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
...@@ -827,7 +826,6 @@ export const formProps: FormProps = { ...@@ -827,7 +826,6 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: '', defaultValue: '',
placeholder: '请输入熔次号', placeholder: '请输入熔次号',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -837,10 +835,7 @@ export const formProps: FormProps = { ...@@ -837,10 +835,7 @@ export const formProps: FormProps = {
showLabel: true, showLabel: true,
required: false, required: false,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
listStyle: '', listStyle: '',
isSave: false, isSave: false,
isShow: true, isShow: true,
...@@ -882,7 +877,6 @@ export const formProps: FormProps = { ...@@ -882,7 +877,6 @@ export const formProps: FormProps = {
events: {}, events: {},
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
params: null,
style: {}, style: {},
}, },
}, },
...@@ -899,9 +893,7 @@ export const formProps: FormProps = { ...@@ -899,9 +893,7 @@ export const formProps: FormProps = {
span: 7, span: 7,
defaultValue: 0, defaultValue: 0,
min: 0, min: 0,
max: null,
step: 0.1, step: 0.1,
maxlength: null,
disabled: false, disabled: false,
showLabel: true, showLabel: true,
controls: true, controls: true,
...@@ -909,47 +901,39 @@ export const formProps: FormProps = { ...@@ -909,47 +901,39 @@ export const formProps: FormProps = {
subTotal: false, subTotal: false,
isShow: true, isShow: true,
rules: [], rules: [],
events: { events: { change: '' },
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{ {
key: 'd66e5ebfa5d64b829fde596c82155158', key: 'dbff4c30b51e45a0abda869b986c2af2',
field: 'sfnbdd', field: 'jhjsrq',
label: '是否内部订单', label: '计划结束时间',
type: 'radio', type: 'date',
component: 'ApiRadioGroup', component: 'DatePicker',
colProps: { span: 24 }, colProps: { span: 24 },
defaultValue: '',
componentProps: { componentProps: {
span: 7, span: 7,
defaultValue: '',
width: '100%',
placeholder: '请选择计划结束时间',
format: 'YYYY-MM-DD HH:mm:ss',
showLabel: true, showLabel: true,
allowClear: true,
disabled: false, disabled: false,
optionType: 'default',
staticOptions: [
{ key: 2, label: '是', value: '1' },
{ key: 3, label: '否', value: '2' },
],
datasourceType: 'staticData',
labelField: 'label',
valueField: 'value',
defaultSelect: '2',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
dicOptions: [],
required: false, required: false,
rules: [],
events: {},
isShow: true, isShow: true,
rules: [],
events: {
change:
"\nif(formModel.jhjsrq<formModel.jhksrq){\n formActionType.showMessage('计划结束时间不能比开始时间早!');\nformModel.jhjsrq=formModel.jhksrq;\n}\n\n",
},
isGetCurrent: false,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
params: null, searchType: 'time',
style: {}, style: { width: '100%' },
}, },
}, },
{ {
...@@ -982,15 +966,8 @@ export const formProps: FormProps = { ...@@ -982,15 +966,8 @@ export const formProps: FormProps = {
name: 'cjid', name: 'cjid',
value: value:
'{"bindField":"sccj","fieldKey":"21610208f2b8428e84de66979709d296"}', '{"bindField":"sccj","fieldKey":"21610208f2b8428e84de66979709d296"}',
description: null,
required: true, required: true,
dataType: null,
type: null,
defaultValue: '0', defaultValue: '0',
validateType: null,
error: null,
expression: null,
children: null,
bindType: 'data', bindType: 'data',
}, },
], ],
...@@ -1004,7 +981,10 @@ export const formProps: FormProps = { ...@@ -1004,7 +981,10 @@ export const formProps: FormProps = {
dicOptions: [], dicOptions: [],
required: false, required: false,
rules: [], rules: [],
events: {}, events: {
change:
'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\nformModel.mesProductionGongdanList[i].jhksrq=formModel.jhksrq;\nformModel.mesProductionGongdanList[i].jhjsrq=formModel.jhjsrq;\nformModel.mesProductionGongdanList[i].zt="1";\n}',
},
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
...@@ -1067,7 +1047,6 @@ export const formProps: FormProps = { ...@@ -1067,7 +1047,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入任务编号任务编号', placeholder: '请输入任务编号任务编号',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1098,7 +1077,6 @@ export const formProps: FormProps = { ...@@ -1098,7 +1077,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入计划编号', placeholder: '请输入计划编号',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1129,7 +1107,6 @@ export const formProps: FormProps = { ...@@ -1129,7 +1107,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入熔次号', placeholder: '请输入熔次号',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1160,7 +1137,6 @@ export const formProps: FormProps = { ...@@ -1160,7 +1137,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入铸次号单行文本', placeholder: '请输入铸次号单行文本',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1191,7 +1167,6 @@ export const formProps: FormProps = { ...@@ -1191,7 +1167,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入合金状态', placeholder: '请输入合金状态',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1222,7 +1197,6 @@ export const formProps: FormProps = { ...@@ -1222,7 +1197,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入产品ID', placeholder: '请输入产品ID',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1261,7 +1235,6 @@ export const formProps: FormProps = { ...@@ -1261,7 +1235,6 @@ export const formProps: FormProps = {
{ key: 2, label: 'Option 2', value: 'Option 2' }, { key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' }, { key: 3, label: 'Option 3', value: 'Option 3' },
], ],
defaultSelect: null,
datasourceType: 'dic', datasourceType: 'dic',
params: { itemId: '2003761375221407745' }, params: { itemId: '2003761375221407745' },
labelField: 'name', labelField: 'name',
...@@ -1292,7 +1265,6 @@ export const formProps: FormProps = { ...@@ -1292,7 +1265,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入客户单行文本', placeholder: '请输入客户单行文本',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1323,7 +1295,6 @@ export const formProps: FormProps = { ...@@ -1323,7 +1295,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入工序单行文本', placeholder: '请输入工序单行文本',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1341,7 +1312,7 @@ export const formProps: FormProps = { ...@@ -1341,7 +1312,7 @@ export const formProps: FormProps = {
bordered: true, bordered: true,
isShowAi: false, isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
prestrainField: 'pid', prestrainField: '',
}, },
}, },
{ {
...@@ -1355,7 +1326,6 @@ export const formProps: FormProps = { ...@@ -1355,7 +1326,6 @@ export const formProps: FormProps = {
span: '', span: '',
defaultValue: '', defaultValue: '',
placeholder: '请输入工序名称名称', placeholder: '请输入工序名称名称',
maxlength: null,
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
...@@ -1373,344 +1343,13 @@ export const formProps: FormProps = { ...@@ -1373,344 +1343,13 @@ export const formProps: FormProps = {
bordered: true, bordered: true,
isShowAi: false, isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
prestrainField: 'pname', prestrainField: '',
},
},
{
key: 'b0a0abbf874c4059a646b9d454eaaae2',
title: 'zzl',
dataIndex: 'zzl',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入zzl',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: '97877128b5014becb5cd6295ead760ff',
title: 'sl',
dataIndex: 'sl',
componentType: 'InputNumber',
defaultValue: 0,
componentProps: {
width: '100%',
span: '',
defaultValue: 0,
min: 0,
max: null,
step: 0.1,
maxlength: null,
disabled: false,
showLabel: true,
controls: true,
required: false,
subTotal: false,
isShow: false,
rules: [],
events: {},
tooltipConfig: { visible: false, title: '提示文本' },
listStyle: "return 'width:100%'",
},
},
{
key: 'db65c51ffaa7433896ecae60648cca9a',
title: 'zl',
dataIndex: 'zl',
componentType: 'InputNumber',
defaultValue: 0,
componentProps: {
width: '100%',
span: '',
defaultValue: 0,
min: 0,
max: null,
step: 0.1,
maxlength: null,
disabled: false,
showLabel: true,
controls: true,
required: false,
subTotal: false,
isShow: false,
rules: [],
events: {},
tooltipConfig: { visible: false, title: '提示文本' },
listStyle: "return 'width:100%'",
},
},
{
key: 'd1597b263c85496190e47c5e399f414f',
title: 'gg',
dataIndex: 'gg',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入gg',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: 'c1c1e89a76574351b454defc1fe8d1f6',
title: 'zxbz',
dataIndex: 'zxbz',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入zxbz',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: '99b87e4da6584d199204a47cd1a0243d',
title: 'sccj',
dataIndex: 'sccj',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入sccj',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: '5f622be3883e4d1eafe68d9e82e5d25d',
title: 'sccx',
dataIndex: 'sccx',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入sccx',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: '12382799a03d462587e0f1552eaea581',
title: 'jsyq',
dataIndex: 'jsyq',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入jsyq',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: 'dee34a8120874c6e90992c42bdb9f021',
title: 'sfnbdd',
dataIndex: 'sfnbdd',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入sfnbdd',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: '4947868d8b55470192988b50e680114f',
title: 'zt',
dataIndex: 'zt',
componentType: 'Input',
defaultValue: '1',
componentProps: {
width: '100%',
span: '',
defaultValue: '1',
placeholder: '请输入zt',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: false,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
}, },
}, },
], ],
span: '24', span: '24',
preloadType: 'api', preloadType: 'api',
apiConfig: { apiConfig: {},
path: '/scgl/scrw/getAllGxByGyId',
method: 'GET',
apiId: '47e4e4aaab1c495b89d3f04478fc86ab',
apiParams: [
{
key: '1',
title: 'Query Params',
tableInfo: [
{
name: 'rid',
value:
'{"bindField":"gylx","fieldKey":"90df3bd996a3469789d4557edf80aca7"}',
description: null,
required: false,
dataType: null,
type: null,
defaultValue: '0',
validateType: null,
error: null,
expression: null,
children: null,
bindType: 'data',
},
],
},
{ key: '2', title: 'Header', tableInfo: [] },
{ key: '3', title: 'Body' },
],
script:
"var sql = 'select r.id,r.name rname,p.id pid,p.name pname from roke_routing r join roke_routing_process rp on r.id=rp.routing_id join roke_process p on rp.process_id=p.id ?{rid,where r.id=#{rid}}';\r\nreturn db.select(sql)",
},
itemId: '', itemId: '',
dicOptions: [], dicOptions: [],
useSelectButton: false, useSelectButton: false,
...@@ -1734,9 +1373,7 @@ export const formProps: FormProps = { ...@@ -1734,9 +1373,7 @@ export const formProps: FormProps = {
isShowAdd: false, isShowAdd: false,
isShowDelete: false, isShowDelete: false,
hasCheckedCol: false, hasCheckedCol: false,
events: { events: { load: '' },
load: 'for(let i=0;i<formModel.mesProductionGongdanList.length;i++){ formModel.mesProductionGongdanList[i].rwbh=formModel.rwbh;\nformModel.mesProductionGongdanList[i].jhbh=formModel.jhbh;\nformModel.mesProductionGongdanList[i].rch=formModel.rch;\nformModel.mesProductionGongdanList[i].zch=formModel.zch;\nformModel.mesProductionGongdanList[i].hjzt=formModel.hjzt;\nformModel.mesProductionGongdanList[i].cpid=formModel.cpid;\nformModel.mesProductionGongdanList[i].cplx=formModel.cplx;\nformModel.mesProductionGongdanList[i].kh=formModel.kh;\nformModel.mesProductionGongdanList[i].zzl=formModel.zzl;\nformModel.mesProductionGongdanList[i].sl=formModel.sl;\nformModel.mesProductionGongdanList[i].zl=formModel.zl;\nformModel.mesProductionGongdanList[i].gg=formModel.gg;\nformModel.mesProductionGongdanList[i].zxbz=formModel.zxbz;\nformModel.mesProductionGongdanList[i].sccj=formModel.sccj;\nformModel.mesProductionGongdanList[i].sccx=formModel.sccx;\nformModel.mesProductionGongdanList[i].jsyq=formModel.jsyq;\nformModel.mesProductionGongdanList[i].sfnbdd=formModel.sfnbdd;\n}',
},
showPagenation: true, showPagenation: true,
}, },
}, },
......
...@@ -88,6 +88,23 @@ export const permissionList = [ ...@@ -88,6 +88,23 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '是否内部订单',
fieldId: 'sfnbdd',
isSubTable: false,
showChildren: true,
type: 'radio',
key: 'd66e5ebfa5d64b829fde596c82155158',
children: [],
options: {},
defaultValue: '2',
},
{
required: false,
view: true,
edit: false,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '计划编号', fieldName: '计划编号',
fieldId: 'jhbh', fieldId: 'jhbh',
isSubTable: false, isSubTable: false,
...@@ -222,15 +239,15 @@ export const permissionList = [ ...@@ -222,15 +239,15 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '任务日期', fieldName: '计划开始时间',
fieldId: 'jhksrq,jhjsrq', fieldId: 'jhksrq',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'date-range', type: 'date',
key: 'e35543642daf4df5b48c636ce8bb3f4c', key: 'c522ec15933c4d448a448e4d67897aa0',
children: [], children: [],
options: {}, options: {},
defaultValue: [], defaultValue: '2026-01-07 17:00:09',
}, },
{ {
required: false, required: false,
...@@ -307,15 +324,15 @@ export const permissionList = [ ...@@ -307,15 +324,15 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '是否内部订单', fieldName: '计划结束时间',
fieldId: 'sfnbdd', fieldId: 'jhjsrq',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'radio', type: 'date',
key: 'd66e5ebfa5d64b829fde596c82155158', key: 'dbff4c30b51e45a0abda869b986c2af2',
children: [], children: [],
options: {}, options: {},
defaultValue: '2', defaultValue: '',
}, },
{ {
required: false, required: false,
...@@ -496,156 +513,6 @@ export const permissionList = [ ...@@ -496,156 +513,6 @@ export const permissionList = [
key: '16fd1699db7744379edd01b6eb5653f9', key: '16fd1699db7744379edd01b6eb5653f9',
children: [], children: [],
}, },
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'zzl',
fieldId: 'zzl',
type: 'Input',
key: 'b0a0abbf874c4059a646b9d454eaaae2',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'sl',
fieldId: 'sl',
type: 'InputNumber',
key: '97877128b5014becb5cd6295ead760ff',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'zl',
fieldId: 'zl',
type: 'InputNumber',
key: 'db65c51ffaa7433896ecae60648cca9a',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'gg',
fieldId: 'gg',
type: 'Input',
key: 'd1597b263c85496190e47c5e399f414f',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'zxbz',
fieldId: 'zxbz',
type: 'Input',
key: 'c1c1e89a76574351b454defc1fe8d1f6',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'sccj',
fieldId: 'sccj',
type: 'Input',
key: '99b87e4da6584d199204a47cd1a0243d',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'sccx',
fieldId: 'sccx',
type: 'Input',
key: '5f622be3883e4d1eafe68d9e82e5d25d',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'jsyq',
fieldId: 'jsyq',
type: 'Input',
key: '12382799a03d462587e0f1552eaea581',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'sfnbdd',
fieldId: 'sfnbdd',
type: 'Input',
key: 'dee34a8120874c6e90992c42bdb9f021',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesProductionGongdanList',
fieldName: 'zt',
fieldId: 'zt',
type: 'Input',
key: '4947868d8b55470192988b50e680114f',
children: [],
},
], ],
}, },
]; ];
...@@ -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":"sclld","icon":"ant-design:file-text-outlined","isDefault":false,"setting":[],"showType":"top","buttonType":"primary"},{"isUse":true,"name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true}] const list = [{"buttonId":"2008813468518432768","name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2008813468518432769","name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true,"isUse":true},{"buttonId":"2008813468518432770","name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isUse":true,"isEnableLock":true},{"buttonId":"2008813468518432771","name":"生成领料单","code":"sclld","icon":"ant-design:file-text-outlined","isDefault":false,"isUse":true,"setting":[],"showType":"top","buttonType":"primary"},{"buttonId":"2008813468518432772","name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true,"isUse":true}]
return filterButtonAuth(list); return filterButtonAuth(list);
}) })
......
...@@ -269,7 +269,7 @@ export const formProps: FormProps = { ...@@ -269,7 +269,7 @@ export const formProps: FormProps = {
addonAfter: '', addonAfter: '',
showLabel: true, showLabel: true,
autoCodeRule: 'ZJFA', autoCodeRule: 'ZJFA',
required: false, required: true,
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
...@@ -361,7 +361,7 @@ export const formProps: FormProps = { ...@@ -361,7 +361,7 @@ export const formProps: FormProps = {
disabled: false, disabled: false,
allowClear: false, allowClear: false,
showLabel: true, showLabel: true,
required: false, required: true,
rules: [], rules: [],
events: {}, events: {},
listStyle: '', listStyle: '',
...@@ -406,7 +406,7 @@ export const formProps: FormProps = { ...@@ -406,7 +406,7 @@ export const formProps: FormProps = {
apiId: '93d735dcb7364a0f8102188ec4d77ac7', apiId: '93d735dcb7364a0f8102188ec4d77ac7',
}, },
dicOptions: [], dicOptions: [],
required: false, required: true,
rules: [], rules: [],
events: {}, events: {},
isShow: true, isShow: true,
...@@ -452,7 +452,7 @@ export const formProps: FormProps = { ...@@ -452,7 +452,7 @@ export const formProps: FormProps = {
apiId: '93d735dcb7364a0f8102188ec4d77ac7', apiId: '93d735dcb7364a0f8102188ec4d77ac7',
}, },
dicOptions: [], dicOptions: [],
required: false, required: true,
rules: [], rules: [],
events: {}, events: {},
isShow: true, isShow: true,
...@@ -493,7 +493,7 @@ export const formProps: FormProps = { ...@@ -493,7 +493,7 @@ export const formProps: FormProps = {
apiId: '93d735dcb7364a0f8102188ec4d77ac7', apiId: '93d735dcb7364a0f8102188ec4d77ac7',
}, },
dicOptions: [], dicOptions: [],
required: false, required: true,
rules: [], rules: [],
events: {}, events: {},
isShow: true, isShow: 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