Commit ead7818d by sunhaiwei

生产入库页面货位改成可选择

parent fdd3e5d3
......@@ -1131,32 +1131,42 @@ export const formProps: FormProps = {
},
},
{
key: '5d9a11c345e24ff59f416012ae5fb4c1',
key: 'f48fe405a2dc46799eb0c943254d6c88',
title: '货位',
dataIndex: 'hw',
componentType: 'Input',
defaultValue: '',
componentType: 'MultiplePopup',
componentProps: {
popupType: 'associate',
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入货位',
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
placeholder: '请选择货位',
showLabel: true,
disabled: false,
datasourceType: 'api',
labelField: 'label',
valueField: 'value',
pageSize: 10,
assoTitle: '货位信息',
apiConfig: {
path: '/getStoreLocation',
method: 'GET',
apiId: 'd55f1866db284ecd8b038a3956b9c5b7',
apiParams: [
{ key: '1', title: 'Query Params', tableInfo: [] },
{ key: '2', title: 'Header', tableInfo: [] },
{ key: '3', title: 'Body' },
],
script:
"var sql=\"select name as value,name as label from mes_storage_location where delete_mark = 0 ?{keyword, and code like concat('%',#{keyword},'%')}\";\r\nreturn db.select(sql);",
outputParams: [
{ name: 'label', tableTitle: '货位名称', show: true, width: 150 },
],
},
dicOptions: [],
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
......@@ -1521,32 +1531,61 @@ export const formProps: FormProps = {
},
},
{
key: '4ff849ba704342fa901be52adeab6bb8',
key: 'fe0be7ab60d8433d8c4b5832b15acd60',
title: '货位',
dataIndex: 'hw',
componentType: 'Input',
defaultValue: '',
componentType: 'MultiplePopup',
componentProps: {
popupType: 'associate',
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入货位',
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
placeholder: '请选择货位',
showLabel: true,
disabled: false,
datasourceType: 'api',
labelField: 'label',
valueField: 'value',
pageSize: 10,
assoTitle: '货位信息',
apiConfig: {
path: '/getStoreLocation',
method: 'GET',
apiId: 'd55f1866db284ecd8b038a3956b9c5b7',
apiParams: [
{
key: '1',
title: 'Query Params',
tableInfo: [
{
name: 'keyword',
value: null,
description: null,
required: false,
dataType: null,
type: null,
defaultValue: null,
validateType: null,
error: null,
expression: null,
children: null,
bindType: '',
},
],
},
{ key: '2', title: 'Header', tableInfo: [] },
{ key: '3', title: 'Body' },
],
script:
"var sql=\"select name as value,name as label from mes_storage_location where delete_mark = 0 ?{keyword, and name like concat('%',#{keyword},'%')}\";\r\nreturn db.select(sql);",
outputParams: [
{ name: 'label', tableTitle: '名称', show: true, width: 150 },
],
},
dicOptions: [],
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
......
......@@ -358,8 +358,8 @@ export const permissionList = [
tableName: 'mesWarehouseProductInfoList',
fieldName: '货位',
fieldId: 'hw',
type: 'Input',
key: '5d9a11c345e24ff59f416012ae5fb4c1',
type: 'MultiplePopup',
key: 'f48fe405a2dc46799eb0c943254d6c88',
children: [],
},
{
......@@ -508,8 +508,8 @@ export const permissionList = [
tableName: 'mesWarehouseProductChangeList',
fieldName: '货位',
fieldId: 'hw',
type: 'Input',
key: '4ff849ba704342fa901be52adeab6bb8',
type: 'MultiplePopup',
key: 'fe0be7ab60d8433d8c4b5832b15acd60',
children: [],
},
{
......
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