Commit 5df0d420 by li.jian

修改bug

parent 3fa94ff2
......@@ -1614,24 +1614,24 @@ export const formButtons = [
index: 2,
type: 1,
},
/* {
key: 'cancel',
code: 'cancel',
name: '取消',
style: 'default',
event: [],
isShow: true,
index: 1,
type: 1,
},*/
{
key: 'reset',
code: 'reset',
name: '重置',
style: 'default',
event: [],
isShow: true,
index: 0,
type: 1,
},
// {
// key: 'cancel',
// code: 'cancel',
// name: '取消',
// style: 'default',
// event: [],
// isShow: true,
// index: 1,
// type: 1,
// },
// {
// key: 'reset',
// code: 'reset',
// name: '重置',
// style: 'default',
// event: [],
// isShow: true,
// index: 0,
// type: 1,
// },
];
......@@ -277,7 +277,7 @@ export const formProps: FormProps = {
disabled: false,
allowClear: false,
showLabel: true,
required: false,
required: true,
rules: [],
events: {},
listStyle: '',
......@@ -310,7 +310,7 @@ export const formProps: FormProps = {
disabled: false,
allowClear: false,
showLabel: true,
required: false,
required: true,
rules: [],
events: {},
listStyle: '',
......
......@@ -755,7 +755,7 @@ export const formProps: FormProps = {
width: '100%',
min: 0,
step: 1,
disabled: false,
disabled: true,
showLabel: true,
controls: true,
required: false,
......@@ -764,7 +764,7 @@ export const formProps: FormProps = {
rules: [],
events: {},
tooltipConfig: { visible: false, title: '提示文本' },
prestrainField: '',
prestrainField: 'kcl',
defaultValue: 0,
listStyle: "return 'width:100%'",
},
......@@ -927,12 +927,12 @@ export const formProps: FormProps = {
{ key: '3', title: 'Body' },
],
script:
"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)",
"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)",
outputParams: [
{ name: 'cpbh', tableTitle: '编号' },
{ name: 'cpmc', tableTitle: '名称' },
{ name: 'id', tableTitle: 'ID' },
{ name: 'kcl', tableTitle: '库存数' },
],
},
itemId: '',
......
......@@ -942,7 +942,7 @@ export const formProps: FormProps = {
defaultValue: 0,
min: 0,
step: 0.01,
disabled: false,
disabled: true,
showLabel: true,
controls: true,
required: false,
......
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