...
|
...
|
@@ -157,14 +157,13 @@ |
|
|
});
|
|
|
|
|
|
$("#promotionEditForm #limitType").combobox({
|
|
|
prompt:"请选择",
|
|
|
textField : "text",
|
|
|
valueField : "value",
|
|
|
editable: false,
|
|
|
panelHeight : 80,
|
|
|
data:[{text:"属于",value:"1"},{text:"不属于",value:"2"}],
|
|
|
onLoadSuccess : function(){
|
|
|
$("#promotionEditForm #limitType").combobox("setValue",1);
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
$("#promotionEditForm #initStatus").combobox({
|
...
|
...
|
@@ -259,7 +258,7 @@ |
|
|
//商品限制范围
|
|
|
var scope = loadData.productScopeList;
|
|
|
var productScopeType = scope[0].productScopeType;
|
|
|
var limitType = productScopeType == 0 ? 1 : productScopeType;
|
|
|
var limitType = productScopeType == 1 ? 1 : scope[0].limitType;
|
|
|
$("#limitType").combobox("setValue", limitType);
|
|
|
$("#limitValues").textbox("setValue", scope[0].scopeValue);
|
|
|
$("#productScopeType").combobox("setValue",productScopeType);
|
...
|
...
|
|