修改禅道已知bug
This commit is contained in:
@@ -1257,4 +1257,6 @@ module.exports = {
|
||||
forward:'Forward',
|
||||
issuedBy:'Issued by',
|
||||
pleaseDecompositionStandardOrder:'Please import or bring in at least one decomposition standard order',
|
||||
currentlyTheFirstOneThatCannotMovedUp:'Currently the first one that cannot be moved up',
|
||||
currentlyTheLastOneCannotmovedDown:'Currently the last one cannot be moved down',
|
||||
}
|
||||
@@ -1359,4 +1359,6 @@ module.exports = {
|
||||
forward:'转发',
|
||||
issuedBy:'发布人',
|
||||
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
|
||||
currentlyTheFirstOneThatCannotMovedUp:'当前已是第一个无法进行上移',
|
||||
currentlyTheLastOneCannotmovedDown:'当前已是最后一个无法进行下移',
|
||||
}
|
||||
+10
-2
@@ -163,7 +163,11 @@
|
||||
this.sortList.push(this.dataSource[index - 1])
|
||||
}
|
||||
}
|
||||
this.move()
|
||||
if (this.sortList.length > 1) {
|
||||
this.move()
|
||||
} else {
|
||||
this.$message.warning(this.$t('currentlyTheFirstOneThatCannotMovedUp'))
|
||||
}
|
||||
},
|
||||
moveDownClick(row, index) {
|
||||
this.sortList = []
|
||||
@@ -180,7 +184,11 @@
|
||||
this.sortList.push(this.dataSource[index + 1])
|
||||
}
|
||||
}
|
||||
this.move()
|
||||
if (this.sortList.length > 1) {
|
||||
this.move()
|
||||
} else {
|
||||
this.$message.warning(this.$t('currentlyTheLastOneCannotmovedDown'))
|
||||
}
|
||||
},
|
||||
move() {
|
||||
postAction('/report/lawsMonthlyReportTitleTemplateEO/move', { lawsMonthlyReportTitleTemplateEOS: this.sortList }).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user