...
|
...
|
@@ -197,8 +197,10 @@ var g=new common.grid({ |
|
|
new common.dropDown({
|
|
|
el: ".btn-sort-chima",
|
|
|
ajax: "sortsize2",
|
|
|
params: {
|
|
|
"sortId" : sort
|
|
|
params: function(){
|
|
|
return {
|
|
|
"sortId" : sort
|
|
|
};
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
@@ -276,6 +278,12 @@ $(document).on("change",":radio[name=gender]",function(){ |
|
|
});
|
|
|
$(document).on("change",":radio[name=isAdvance]",function(){
|
|
|
g.reload();
|
|
|
$("#stock").val("");
|
|
|
$.each(g.__rows,function(inex,item){
|
|
|
$.each(item.goodsSizeList,function(inex1,item1){
|
|
|
item1.presaleStorageNum="";
|
|
|
});
|
|
|
});
|
|
|
if($(this).val()=="Y"){
|
|
|
$("#expectArrivalTimeStr").attr("required","required");
|
|
|
$("#expectArrivalTimeStrTxt").html("预计到货时间<span class='red'>*</span>");
|
...
|
...
|
@@ -416,7 +424,7 @@ e.on("validate",function(){ |
|
|
return "同一颜色包含两组相同尺码";
|
|
|
}
|
|
|
if(_count1>0&&common.util.__input("supplierId")){
|
|
|
return "GIT商品条码不能重复";
|
|
|
return "JIT商品条码不能重复";
|
|
|
}
|
|
|
});
|
|
|
e.on("validate",function(){
|
...
|
...
|
@@ -431,7 +439,7 @@ $(document).on("click","#btnReview",function(){ |
|
|
|
|
|
|
|
|
if(e.validate()){
|
|
|
common.dialog.confirm("温馨提示","<p>若是GIT商品,请务必选择供应商!</p><p>你确定提交吗?</p>",function(){
|
|
|
common.dialog.confirm("温馨提示","<p>你确定提交吗?</p>",function(){
|
|
|
e.submit($("#basicForm").attr("action"),function(option){
|
|
|
var select=tabTree.getAddress();
|
|
|
|
...
|
...
|
|