- {{scope.row.textValue?scope.row.textValue:scope.row.numValue}}
+
+ {{ scope.row['textValue'] }}
+
+
+ {{ scope.row['numValue'] }}
+
@@ -338,11 +343,11 @@
-
+
-
+
diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue
index c45c53c..d8e956e 100644
--- a/src/views/modules/part/routingManagement.vue
+++ b/src/views/modules/part/routingManagement.vue
@@ -174,12 +174,12 @@
新增
- 删除
- 编辑
- Copy
- Build
- Retire
- 基于标准工序快速创建
+ 删除
+ 编辑
+ Copy
+ Build
+ Retire
+ 基于标准工序快速创建
@@ -212,8 +212,8 @@
- 新增
- 删除
+ 新增
+ 删除
-
+
-
+
@@ -797,6 +797,7 @@ export default {
saveDetailLoading: false,
saveAllLoading: false,
copyLoading: false,
+ alternativeLoading: false,
// 初始页签
detailTable: 'routing_detail',
subDetailTable: 'routing_sub_detail',
@@ -3284,7 +3285,6 @@ export default {
})
}
})
- }).catch(() => {
})
},
@@ -3314,7 +3314,6 @@ export default {
this.alternativeChange()
}
})
- }).catch(() => {
})
},
/**
@@ -3343,7 +3342,6 @@ export default {
this.alternativeChange()
}
})
- }).catch(() => {
})
},
@@ -3351,6 +3349,7 @@ export default {
* 替代改变事件
*/
alternativeChange () {
+ this.alternativeLoading = true
queryRoutingComponent(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailDataList = data.rows.detailDataList
@@ -3361,6 +3360,9 @@ export default {
confirmButtonText: '确定'
})
}
+ this.alternativeLoading = false
+ }).catch(()=>{
+ this.alternativeLoading = false
})
},