Commit 91c60bb7 by 董晓奇

BOM的库存数量系统获取库存账本内容,现在是手动填写,改为只读

parent 580e8759
...@@ -755,7 +755,7 @@ export const formProps: FormProps = { ...@@ -755,7 +755,7 @@ export const formProps: FormProps = {
width: '100%', width: '100%',
min: 0, min: 0,
step: 1, step: 1,
disabled: false, disabled: true,
showLabel: true, showLabel: true,
controls: true, controls: true,
required: false, required: false,
...@@ -764,7 +764,7 @@ export const formProps: FormProps = { ...@@ -764,7 +764,7 @@ export const formProps: FormProps = {
rules: [], rules: [],
events: {}, events: {},
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
prestrainField: '', prestrainField: 'kcl',
defaultValue: 0, defaultValue: 0,
listStyle: "return 'width:100%'", listStyle: "return 'width:100%'",
}, },
...@@ -927,12 +927,12 @@ export const formProps: FormProps = { ...@@ -927,12 +927,12 @@ export const formProps: FormProps = {
{ key: '3', title: 'Body' }, { key: '3', title: 'Body' },
], ],
script: script:
"if(keyword!=null && keyword!=''){\r\n var sql " + "if(keyword!=null && keyword!=''){\r\n var sql = \"select *,id as value,cpmc as label from mes_base_product_info where delete_mark=0 and cpmc like '%${keyword}%' \";\r\n return db.select(sql)\r\n}\r\nvar sql = 'select *,id as value,cpmc as label from mes_base_product_info where delete_mark=0';\r\nreturn db.select(sql)",
"= \"select *,id as value,cpmc as label from mes_base_product_info where delete_mark=0 and cpmc like '%${keyword}%' \";\r\n return db.select(sql)\r\n}\r\nvar sql = 'select *,id as value,cpmc as label from mes_base_product_info where delete_mark=0';\r\nreturn db.select(sql)",
outputParams: [ outputParams: [
{ name: 'cpbh', tableTitle: '编号' }, { name: 'cpbh', tableTitle: '编号' },
{ name: 'cpmc', tableTitle: '名称' }, { name: 'cpmc', tableTitle: '名称' },
{ name: 'id', tableTitle: 'ID' }, { name: 'id', tableTitle: 'ID' },
{ name: 'kcl', tableTitle: '库存数' },
], ],
}, },
itemId: '', itemId: '',
......
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