|
@@ -294,10 +294,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
type,
|
|
|
name:null
|
|
|
})
|
|
|
- this.$set(this.form.detail,this.idx,{
|
|
|
- arr:[],
|
|
|
- size:this.form[type][this.idx]
|
|
|
- })
|
|
|
Object.keys(this.form.size).forEach(sizeIdx=>{
|
|
|
let size=this.form.size[sizeIdx]
|
|
|
Object.keys(this.form.spec).forEach((spec_idx)=>{
|
|
@@ -313,6 +309,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
amount_kill_ladder:[{min:null,max:null,amount:null}],
|
|
|
})
|
|
|
}
|
|
|
+ if(!this.form.detail[key]){
|
|
|
+ this.$set(this.form.detail,key,{
|
|
|
+ arr:[],
|
|
|
+ size,
|
|
|
+ spec,
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
})
|
|
|
},
|