@@ -394,8 +394,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
num_stock:0,
num_stock_kill:0,
amount_cost:0,
- amount_ladder:[],
- amount_kill_ladder:[],
+ amount_ladder:[
+ {
+ min:null,
+ max:null,
+ amount:null,
+ }
+ ],
+ amount_kill_ladder:[
detail:[],
}
//console.log('row',row)
@@ -415,7 +427,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
//this.$delete(spec.names,idx)
spec.names.splice(idx,1)
this.setTableList()
- console.log(this.form.sku)
},
addLadder(ladder){
ladder.push({min:null,max:null,amount:null})