|
|
@@ -1069,6 +1069,7 @@
|
|
|
if(res==1){
|
|
|
this.$message.success('冲销成功');
|
|
|
this.reload({workOrderId:this.workOrderId, taskCode:this.taskCode})
|
|
|
+ this.refreshData()
|
|
|
}else if(res==0){
|
|
|
this.$confirm('', {
|
|
|
message:h('div',null, [
|
|
|
@@ -1092,6 +1093,16 @@
|
|
|
|
|
|
check(row){
|
|
|
this.$refs.bomListRef.open(row);
|
|
|
+ },
|
|
|
+
|
|
|
+ refreshData(){
|
|
|
+ const res = await getInfoById(this.workOrderId)
|
|
|
+ this.infoData = res
|
|
|
+ if(typeof res.taskTypeProcessDiagrams == 'string' ){
|
|
|
+ this.tabList = []
|
|
|
+ }else{
|
|
|
+ this.tabList = res.taskTypeProcessDiagrams
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|