拆分结果保存

This commit is contained in:
caoyang
2022-03-31 23:09:51 +08:00
parent e6f40cfafd
commit 72de25242b
9 changed files with 357 additions and 81 deletions
@@ -569,9 +569,10 @@
},
mounted() {
this.visible=this.addVisible
this.formInline=this.item
// this.formInline=this.item
// console.log('form',this.formInline,this.item)
this.loadData()
this.loadFormInfo()
},
methods:{
loadData(){
@@ -584,6 +585,16 @@
}).finally(()=>{
this.loading=false
})
},
//获取表单信息
loadFormInfo(){
getAction(`split/sarFileSplitItems/getSplitItemsById`,{id:this.itemId}).then(res=>{
if(res.success){
this.formInline=[...res.result]
}
})
},
afterVisibleChange(){