老师
我的代码如下:
With wb.AddInputGroup("page2","ipg3","订单明细")
With .AddInputCell("cp2") '通过InputCell增加输入框
.AddLabel("lcp","产品名称",0) '增加标签,0显示在左边
.AddInput("cpmc","text",1)
.AddVcodeButton("cpcx","查询",2).Attribute= ""
End With
.AddInput("pack","包装规格","text").Readonly = True
With .AddInput("js","件数","number")
.Min = "0"
End With
.AddInput("sl","产品数量","number").Step = "0.0001"
.AddInput("jg","销售价格","number").Step = "0.000000001"
.AddInput("je","销售金额","number").Step = "0.01"
End With
With wb.AddButtonGroup("page2","qrz", False) '水平排列
.Add("cjmx", "增加明细")
.Add("qxmx", "取消明细")
End With
但为什么 件数那里还是可以录入小数,还有金额 也可以录入超过2位的小数? 请看图

此主题相关图片如下:b1d9ac53896d762b8f88a8bef906a2e.jpg
