id : "editQueryExpress1",
//xtype : "psi_expresscompanyfield",
xtype : "combo",
labelAlign : "right",
labelSeparator : "",
labelWidth : 60,
margin : "5, 0, 0, 0",
hasNullValue:true,
valueField : "Name",
store : Ext.create("Ext.data.ArrayStore", {
fields: ["id", "Name"],
autoLoad: true,
proxy: {
type: "ajax",
actionMethods: { read: "POST" },
url: "/Home/WavePicking/getExpress",
reader: {
type: "json",
root: "data"
}
}
}),
fieldLabel : "快递公司1"
调试下,url: "/Home/WavePicking/getExpress", 这里返回的数据对不对,你post的参数对不对。
如果你服务器调试比较困难,你可以客户端浏览器http抓包看下。