Commit d0bc19ed authored by 李苏's avatar 李苏 💬

调整

parent 0f37779a
...@@ -163,6 +163,8 @@ ...@@ -163,6 +163,8 @@
code:item.code code:item.code
}).then(res=>{ }).then(res=>{
if(res.success){ if(res.success){
let length=this.formDetail.length
this.formDetail.splice(0,length)
let list =res.data.records||[] let list =res.data.records||[]
let packidList=this.formDetail.map(pitem=>pitem.packid) let packidList=this.formDetail.map(pitem=>pitem.packid)
list.forEach(item=>{ list.forEach(item=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment