Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
e946c8fd
Commit
e946c8fd
authored
Mar 19, 2026
by
li.jian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉产品/物料
parent
eae30358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
348 additions
and
348 deletions
+348
-348
xjrsoft-vue3/src/views/jcsj/gxgl/components/config.ts
+348
-348
No files found.
xjrsoft-vue3/src/views/jcsj/gxgl/components/config.ts
View file @
e946c8fd
...
@@ -496,354 +496,354 @@ export const formProps: FormProps = {
...
@@ -496,354 +496,354 @@ export const formProps: FormProps = {
margin
:
'10px'
,
margin
:
'10px'
,
},
},
},
},
{
//
{
key
:
'03c19c5ac95b4d139d8380ede64f14ff'
,
//
key: '03c19c5ac95b4d139d8380ede64f14ff',
field
:
''
,
//
field: '',
label
:
''
,
//
label: '',
type
:
'grid'
,
//
type: 'grid',
colProps
:
{
span
:
24
},
//
colProps: { span: 24 },
component
:
'Grid'
,
//
component: 'Grid',
children
:
[
//
children: [
{
//
{
span
:
24
,
//
span: 24,
list
:
[
//
list: [
{
//
{
key
:
'24f0714c9f3a4242b1bcefff04bb7314'
,
//
key: '24f0714c9f3a4242b1bcefff04bb7314',
field
:
''
,
//
field: '',
label
:
''
,
//
label: '',
type
:
'tab'
,
//
type: 'tab',
colProps
:
{
span
:
24
},
//
colProps: { span: 24 },
component
:
'Tab'
,
//
component: 'Tab',
children
:
[
//
children: [
{
//
{
span
:
24
,
//
span: 24,
name
:
'产品/物料'
,
//
name: '产品/物料',
prefix
:
''
,
//
prefix: '',
suffix
:
''
,
//
suffix: '',
activeColor
:
'#1c8dff'
,
//
activeColor: '#1c8dff',
folderId
:
''
,
//
folderId: '',
imageUrl
:
''
,
//
imageUrl: '',
conFolderId
:
''
,
//
conFolderId: '',
conImageUrl
:
''
,
//
conImageUrl: '',
list
:
[
//
list: [
{
//
{
key
:
'7cb7c6cdf3ec417280dc49e19dd39ffa'
,
//
key: '7cb7c6cdf3ec417280dc49e19dd39ffa',
label
:
''
,
//
label: '',
field
:
'mesProcessProductList'
,
//
field: 'mesProcessProductList',
type
:
'form'
,
//
type: 'form',
component
:
'SubForm'
,
//
component: 'SubForm',
required
:
true
,
//
required: true,
colProps
:
{
span
:
24
},
//
colProps: { span: 24 },
componentProps
:
{
//
componentProps: {
mainKey
:
'mesProcessProductList'
,
//
mainKey: 'mesProcessProductList',
columns
:
[
//
columns: [
{
//
{
key
:
'00c0e93b675841f48265b896515a5241'
,
//
key: '00c0e93b675841f48265b896515a5241',
title
:
'编号'
,
//
title: '编号',
dataIndex
:
'code'
,
//
dataIndex: 'code',
componentType
:
'Input'
,
//
componentType: 'Input',
defaultValue
:
''
,
//
defaultValue: '',
componentProps
:
{
//
componentProps: {
width
:
'100%'
,
//
width: '100%',
span
:
''
,
//
span: '',
defaultValue
:
''
,
//
defaultValue: '',
placeholder
:
''
,
//
placeholder: '',
prefix
:
''
,
//
prefix: '',
suffix
:
''
,
//
suffix: '',
addonBefore
:
''
,
//
addonBefore: '',
addonAfter
:
''
,
//
addonAfter: '',
disabled
:
false
,
//
disabled: false,
allowClear
:
false
,
//
allowClear: false,
showLabel
:
true
,
//
showLabel: true,
required
:
false
,
//
required: false,
rules
:
[],
//
rules: [],
events
:
{},
//
events: {},
listStyle
:
''
,
//
listStyle: '',
isSave
:
false
,
//
isSave: false,
isShow
:
true
,
//
isShow: true,
scan
:
false
,
//
scan: false,
bordered
:
true
,
//
bordered: true,
isShowAi
:
false
,
//
isShowAi: false,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
//
tooltipConfig: { visible: false, title: '提示文本' },
prestrainField
:
'cpbh'
,
//
prestrainField: 'cpbh',
},
//
},
},
//
},
{
//
{
key
:
'91863c5a0ec24d76ade8735cd401059b'
,
//
key: '91863c5a0ec24d76ade8735cd401059b',
title
:
'名称'
,
//
title: '名称',
dataIndex
:
'name'
,
//
dataIndex: 'name',
componentType
:
'Input'
,
//
componentType: 'Input',
defaultValue
:
''
,
//
defaultValue: '',
componentProps
:
{
//
componentProps: {
width
:
'100%'
,
//
width: '100%',
span
:
''
,
//
span: '',
defaultValue
:
''
,
//
defaultValue: '',
placeholder
:
''
,
//
placeholder: '',
prefix
:
''
,
//
prefix: '',
suffix
:
''
,
//
suffix: '',
addonBefore
:
''
,
//
addonBefore: '',
addonAfter
:
''
,
//
addonAfter: '',
disabled
:
false
,
//
disabled: false,
allowClear
:
false
,
//
allowClear: false,
showLabel
:
true
,
//
showLabel: true,
required
:
false
,
//
required: false,
rules
:
[],
//
rules: [],
events
:
{},
//
events: {},
listStyle
:
''
,
//
listStyle: '',
isSave
:
false
,
//
isSave: false,
isShow
:
true
,
//
isShow: true,
scan
:
false
,
//
scan: false,
bordered
:
true
,
//
bordered: true,
isShowAi
:
false
,
//
isShowAi: false,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
//
tooltipConfig: { visible: false, title: '提示文本' },
prestrainField
:
'cpmc'
,
//
prestrainField: 'cpmc',
},
//
},
},
//
},
{
//
{
key
:
'6c749d8f7bde474da082c659146f473c'
,
//
key: '6c749d8f7bde474da082c659146f473c',
title
:
'数量'
,
//
title: '数量',
dataIndex
:
'number'
,
//
dataIndex: 'number',
componentType
:
'InputNumber'
,
//
componentType: 'InputNumber',
defaultValue
:
0
,
//
defaultValue: 0,
componentProps
:
{
//
componentProps: {
width
:
'100%'
,
//
width: '100%',
span
:
''
,
//
span: '',
defaultValue
:
0
,
//
defaultValue: 0,
min
:
0
,
//
min: 0,
step
:
1
,
//
step: 1,
disabled
:
false
,
//
disabled: false,
showLabel
:
true
,
//
showLabel: true,
controls
:
true
,
//
controls: true,
required
:
false
,
//
required: false,
subTotal
:
false
,
//
subTotal: false,
isShow
:
true
,
//
isShow: true,
rules
:
[],
//
rules: [],
events
:
{},
//
events: {},
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
//
tooltipConfig: { visible: false, title: '提示文本' },
listStyle
:
"return 'width:100%'"
,
//
listStyle: "return 'width:100%'",
},
//
},
},
//
},
{
//
{
key
:
'cb38672445b24eedb2b10addf520de2e'
,
//
key: 'cb38672445b24eedb2b10addf520de2e',
title
:
'是否投料'
,
//
title: '是否投料',
dataIndex
:
'isFeeding'
,
//
dataIndex: 'isFeeding',
componentType
:
'Switch'
,
//
componentType: 'Switch',
defaultValue
:
1
,
//
defaultValue: 1,
componentProps
:
{
//
componentProps: {
span
:
''
,
//
span: '',
defaultValue
:
1
,
//
defaultValue: 1,
checkedChildren
:
''
,
//
checkedChildren: '',
unCheckedChildren
:
''
,
//
unCheckedChildren: '',
checkedColor
:
'#545454'
,
//
checkedColor: '#545454',
unCheckedColor
:
'#bbbdbf'
,
//
unCheckedColor: '#bbbdbf',
showLabel
:
true
,
//
showLabel: true,
disabled
:
false
,
//
disabled: false,
events
:
{},
//
events: {},
isShow
:
true
,
//
isShow: true,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
//
tooltipConfig: { visible: false, title: '提示文本' },
},
//
},
},
//
},
{
//
{
key
:
'607b81d8885746409998c64f0a55a56e'
,
//
key: '607b81d8885746409998c64f0a55a56e',
title
:
'备注'
,
//
title: '备注',
dataIndex
:
'bz'
,
//
dataIndex: 'bz',
componentType
:
'Input'
,
//
componentType: 'Input',
defaultValue
:
''
,
//
defaultValue: '',
componentProps
:
{
//
componentProps: {
width
:
'100%'
,
//
width: '100%',
span
:
''
,
//
span: '',
defaultValue
:
''
,
//
defaultValue: '',
placeholder
:
''
,
//
placeholder: '',
maxlength
:
null
,
//
maxlength: null,
prefix
:
''
,
//
prefix: '',
suffix
:
''
,
//
suffix: '',
addonBefore
:
''
,
//
addonBefore: '',
addonAfter
:
''
,
//
addonAfter: '',
disabled
:
false
,
//
disabled: false,
allowClear
:
false
,
//
allowClear: false,
showLabel
:
true
,
//
showLabel: true,
required
:
false
,
//
required: false,
rules
:
[],
//
rules: [],
events
:
{},
//
events: {},
listStyle
:
''
,
//
listStyle: '',
isSave
:
false
,
//
isSave: false,
isShow
:
true
,
//
isShow: true,
scan
:
false
,
//
scan: false,
bordered
:
true
,
//
bordered: true,
isShowAi
:
false
,
//
isShowAi: false,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
//
tooltipConfig: { visible: false, title: '提示文本' },
prestrainField
:
'bz'
,
//
prestrainField: 'bz',
},
//
},
},
//
},
{
//
{
key
:
'6e053d43971d4157b0f9118f9cbbb4bb'
,
//
key: '6e053d43971d4157b0f9118f9cbbb4bb',
title
:
'产品物料id'
,
//
title: '产品物料id',
dataIndex
:
'productId'
,
//
dataIndex: 'productId',
componentType
:
'Input'
,
//
componentType: 'Input',
defaultValue
:
''
,
//
defaultValue: '',
componentProps
:
{
//
componentProps: {
width
:
'100%'
,
//
width: '100%',
span
:
''
,
//
span: '',
defaultValue
:
''
,
//
defaultValue: '',
placeholder
:
''
,
//
placeholder: '',
prefix
:
''
,
//
prefix: '',
suffix
:
''
,
//
suffix: '',
addonBefore
:
''
,
//
addonBefore: '',
addonAfter
:
''
,
//
addonAfter: '',
disabled
:
false
,
//
disabled: false,
allowClear
:
false
,
//
allowClear: false,
showLabel
:
true
,
//
showLabel: true,
required
:
false
,
//
required: false,
rules
:
[],
//
rules: [],
events
:
{},
//
events: {},
listStyle
:
''
,
//
listStyle: '',
isSave
:
false
,
//
isSave: false,
isShow
:
false
,
//
isShow: false,
scan
:
false
,
//
scan: false,
bordered
:
true
,
//
bordered: true,
isShowAi
:
false
,
//
isShowAi: false,
tooltipConfig
:
{
visible
:
false
,
title
:
'提示文本'
},
//
tooltipConfig: { visible: false, title: '提示文本' },
prestrainField
:
'id'
,
//
prestrainField: 'id',
},
//
},
},
//
},
{
title
:
'操作'
,
key
:
'action'
,
fixed
:
'right'
,
width
:
'50px'
},
//
{ title: '操作', key: 'action', fixed: 'right', width: '50px' },
],
//
],
span
:
'24'
,
//
span: '24',
preloadType
:
'api'
,
//
preloadType: 'api',
apiConfig
:
{
//
apiConfig: {
path
:
'/jcxx/getProduct'
,
//
path: '/jcxx/getProduct',
method
:
'GET'
,
//
method: 'GET',
apiId
:
'copy1767517099244d66500'
,
//
apiId: 'copy1767517099244d66500',
apiParams
:
[
//
apiParams: [
{
key
:
'1'
,
title
:
'Query Params'
,
tableInfo
:
[]
},
//
{ key: '1', title: 'Query Params', tableInfo: [] },
{
key
:
'2'
,
title
:
'Header'
,
tableInfo
:
[]
},
//
{ key: '2', title: 'Header', tableInfo: [] },
{
key
:
'3'
,
title
:
'Body'
},
//
{ key: '3', title: 'Body' },
],
//
],
script
:
//
script:
'var sql="select *,id as value,name as label from roke_product where delete_mark = 0";
\
r
\
nreturn db.select(sql);'
,
//
'var sql="select *,id as value,name as label from roke_product where delete_mark = 0";\r\nreturn db.select(sql);',
outputParams
:
[
//
outputParams: [
{
name
:
'cpbh'
,
tableTitle
:
'编号'
},
//
{ name: 'cpbh', tableTitle: '编号' },
{
name
:
'cpmc'
,
tableTitle
:
'名称'
},
//
{ name: 'cpmc', tableTitle: '名称' },
{
name
:
'bz'
,
tableTitle
:
'备注'
},
//
{ name: 'bz', tableTitle: '备注' },
{
name
:
'id'
,
tableTitle
:
'ID'
},
//
{ name: 'id', tableTitle: 'ID' },
],
//
],
},
//
},
itemId
:
''
,
//
itemId: '',
dicOptions
:
[],
//
dicOptions: [],
useSelectButton
:
true
,
//
useSelectButton: true,
buttonName
:
'新增'
,
//
buttonName: '新增',
showLabel
:
true
,
//
showLabel: true,
showComponentBorder
:
true
,
//
showComponentBorder: true,
showBorder
:
false
,
//
showBorder: false,
bordercolor
:
'#f0f0f0'
,
//
bordercolor: '#f0f0f0',
bordershowtype
:
[
true
,
true
,
true
,
true
],
//
bordershowtype: [true, true, true, true],
borderwidth
:
1
,
//
borderwidth: 1,
showIndex
:
true
,
//
showIndex: true,
isShow
:
true
,
//
isShow: true,
multipleHeads
:
[],
//
multipleHeads: [],
buttonList
:
[],
//
buttonList: [],
topButtonList
:
[],
//
topButtonList: [],
isExport
:
false
,
//
isExport: false,
isImport
:
false
,
//
isImport: false,
isDeleteSelected
:
true
,
//
isDeleteSelected: true,
isListView
:
false
,
//
isListView: false,
viewList
:
[],
//
viewList: [],
isShowAdd
:
false
,
//
isShowAdd: false,
isShowDelete
:
true
,
//
isShowDelete: true,
hasCheckedCol
:
true
,
//
hasCheckedCol: true,
events
:
{},
//
events: {},
showPagenation
:
true
,
//
showPagenation: true,
widths
:
[
//
widths: [
{
//
{
key
:
'00c0e93b675841f48265b896515a5241'
,
//
key: '00c0e93b675841f48265b896515a5241',
name
:
'编号'
,
//
name: '编号',
bindField
:
'code'
,
//
bindField: 'code',
width
:
null
,
//
width: null,
minWidth
:
null
,
//
minWidth: null,
maxWidth
:
null
,
//
maxWidth: null,
resizable
:
false
,
//
resizable: false,
unit
:
null
,
//
unit: null,
isEdit
:
true
,
//
isEdit: true,
},
//
},
{
//
{
key
:
'91863c5a0ec24d76ade8735cd401059b'
,
//
key: '91863c5a0ec24d76ade8735cd401059b',
name
:
'名称'
,
//
name: '名称',
bindField
:
'name'
,
//
bindField: 'name',
width
:
null
,
//
width: null,
minWidth
:
null
,
//
minWidth: null,
maxWidth
:
null
,
//
maxWidth: null,
resizable
:
false
,
//
resizable: false,
unit
:
null
,
//
unit: null,
isEdit
:
true
,
//
isEdit: true,
},
//
},
{
//
{
key
:
'6c749d8f7bde474da082c659146f473c'
,
//
key: '6c749d8f7bde474da082c659146f473c',
name
:
'数量'
,
//
name: '数量',
bindField
:
'number'
,
//
bindField: 'number',
width
:
null
,
//
width: null,
minWidth
:
null
,
//
minWidth: null,
maxWidth
:
null
,
//
maxWidth: null,
resizable
:
false
,
//
resizable: false,
unit
:
null
,
//
unit: null,
isEdit
:
false
,
//
isEdit: false,
},
//
},
{
//
{
key
:
'cb38672445b24eedb2b10addf520de2e'
,
//
key: 'cb38672445b24eedb2b10addf520de2e',
name
:
'是否投料'
,
//
name: '是否投料',
bindField
:
'is_feeding'
,
//
bindField: 'is_feeding',
width
:
null
,
//
width: null,
minWidth
:
null
,
//
minWidth: null,
maxWidth
:
null
,
//
maxWidth: null,
resizable
:
false
,
//
resizable: false,
unit
:
null
,
//
unit: null,
isEdit
:
false
,
//
isEdit: false,
},
//
},
{
//
{
key
:
'607b81d8885746409998c64f0a55a56e'
,
//
key: '607b81d8885746409998c64f0a55a56e',
name
:
'备注'
,
//
name: '备注',
bindField
:
'bz'
,
//
bindField: 'bz',
width
:
null
,
//
width: null,
minWidth
:
null
,
//
minWidth: null,
maxWidth
:
null
,
//
maxWidth: null,
resizable
:
false
,
//
resizable: false,
unit
:
null
,
//
unit: null,
isEdit
:
false
,
//
isEdit: false,
},
//
},
{
//
{
key
:
'6e053d43971d4157b0f9118f9cbbb4bb'
,
//
key: '6e053d43971d4157b0f9118f9cbbb4bb',
name
:
'产品物料id'
,
//
name: '产品物料id',
bindField
:
'product_id'
,
//
bindField: 'product_id',
width
:
null
,
//
width: null,
minWidth
:
null
,
//
minWidth: null,
maxWidth
:
null
,
//
maxWidth: null,
resizable
:
false
,
//
resizable: false,
unit
:
null
,
//
unit: null,
isEdit
:
false
,
//
isEdit: false,
},
//
},
],
//
],
},
//
},
},
//
},
],
//
],
},
//
},
],
//
],
componentProps
:
{
tabPosition
:
'top'
,
size
:
'default'
,
type
:
'line'
,
isShow
:
true
},
//
componentProps: { tabPosition: 'top', size: 'default', type: 'line', isShow: true },
},
//
},
],
//
],
},
//
},
],
//
],
componentProps
:
{
//
componentProps: {
gutter
:
1
,
//
gutter: 1,
justify
:
'start'
,
//
justify: 'start',
align
:
'top'
,
//
align: 'top',
isShow
:
true
,
//
isShow: true,
showBorder
:
false
,
//
showBorder: false,
bordercolor
:
'#d9d9d9'
,
//
bordercolor: '#d9d9d9',
bordershowtype
:
[
true
,
true
,
true
,
true
],
//
bordershowtype: [true, true, true, true],
borderwidth
:
1
,
//
borderwidth: 1,
padding
:
'10px'
,
//
padding: '10px',
margin
:
'10px'
,
//
margin: '10px',
},
//
},
},
//
},
],
],
showActionButtonGroup
:
false
,
showActionButtonGroup
:
false
,
buttonLocation
:
'center'
,
buttonLocation
:
'center'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment