Authored by leo

Update: 修改基础商品更新接口,增加定金字段

... ... @@ -135,7 +135,8 @@ module.exports={
{name: 'stock', type: 'Number'},
{name: 'isAuditing', type: 'Number'},
{name: 'productStandardRelationStr', type: 'String'},
{name: 'appType', type: 'Number'}
{name: 'appType', type: 'Number'},
{name: 'deposit', type: 'Number'}
]
},
getBaseProduct:{
... ...
... ... @@ -537,6 +537,10 @@ e.on("validate",function(){
});
e.on("validate",function(){
if(!$("#deposit").val()) {
return;
}
if((+$("#deposit").val()) < 0) {
return "预付定金格式不合法";
}
... ...