Commit 0793b5ce authored by 李苏's avatar 李苏 💬

调整

parent 41d3261b
......@@ -194,9 +194,15 @@ export default {
this.formDetail.splice(0, length);
let list = res.data.records || [];
if(list[0]){
this.form.ckid=list[0].ckid
this.form.kwid=list[0].kwid
this.form.kwCode=list[0].kwCode
if(list[0].ckid){
this.form.ckid=list[0].ckid
}
if(list[0].kwid){
this.form.kwid=list[0].kwid
}
if(list[0].kwCode){
this.form.kwCode=list[0].kwCode
}
}
let packidList = this.formDetail.map((pitem) => pitem.packid);
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