|
|
@ -2157,7 +2157,7 @@ export default { |
|
|
//区分请求成功和失败的状况 |
|
|
//区分请求成功和失败的状况 |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
if (data.rows == null || data.rows.length === 0) { |
|
|
if (data.rows == null || data.rows.length === 0) { |
|
|
this.$alert('该物料没有benchmark', '警告', {confirmButtonText: '确定',}); |
|
|
|
|
|
|
|
|
this.$alert('该物料未创建技术参数卡', '警告', {confirmButtonText: '确定',}); |
|
|
} |
|
|
} |
|
|
this.$router.push({ |
|
|
this.$router.push({ |
|
|
name: `sampleManagement-technicalSpecificationList`, |
|
|
name: `sampleManagement-technicalSpecificationList`, |
|
|
|