add:增加子卷规格校验
This commit is contained in:
@@ -380,6 +380,9 @@ export default {
|
||||
if (this.currentSelection.length > 0 && this.$refs.dis_table.selection.length > 0) {
|
||||
debugger
|
||||
const descriptionList = this.currentSelection.filter(item => item.paper_tube_description !== null && item.paper_tube_description !== '')
|
||||
if (descriptionList.length === 0) {
|
||||
this.crud.notify('未查询到该子卷的规格信息,请检查子卷的分切计划信息!', CRUD.NOTIFICATION_TYPE.WARNING)
|
||||
}
|
||||
const paper_tube_description = descriptionList[0].paper_tube_description
|
||||
const descriptionsAreSame = this.currentSelection.every(item => item.paper_tube_description === paper_tube_description)
|
||||
if (descriptionsAreSame) {
|
||||
|
||||
Reference in New Issue
Block a user