修改禅道已知bug
This commit is contained in:
@@ -1256,4 +1256,5 @@ module.exports = {
|
||||
HaveReleased:'Have released',
|
||||
forward:'Forward',
|
||||
issuedBy:'Issued by',
|
||||
pleaseDecompositionStandardOrder:'Please import or bring in at least one decomposition standard order',
|
||||
}
|
||||
@@ -1358,4 +1358,5 @@ module.exports = {
|
||||
HaveReleased:'已发布',
|
||||
forward:'转发',
|
||||
issuedBy:'发布人',
|
||||
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
|
||||
}
|
||||
+14
-8
@@ -164,16 +164,22 @@
|
||||
},
|
||||
submitData(callback) {
|
||||
let dataList = JSON.parse(JSON.stringify(this.dataList))
|
||||
for (let i = 0; i < dataList.length; i++) {
|
||||
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
||||
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
||||
}
|
||||
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
||||
if (!dataList[i].evaluatorIds) {
|
||||
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
||||
return
|
||||
if (dataList && dataList.length > 0) {
|
||||
for (let i = 0; i < dataList.length; i++) {
|
||||
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
||||
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
||||
}
|
||||
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
||||
if (!dataList[i].evaluatorIds) {
|
||||
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
||||
return
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.$message.warning(this.$t('pleaseDecompositionStandardOrder'))
|
||||
return
|
||||
}
|
||||
|
||||
callback && callback(dataList)
|
||||
},
|
||||
handleModule() {
|
||||
|
||||
Reference in New Issue
Block a user