Browse Source

最大件号2

master
xuhuajiao 2 weeks ago
parent
commit
9629c9d9ce
  1. 15
      src/views/components/category/PreviewForm.vue

15
src/views/components/category/PreviewForm.vue

@ -871,7 +871,20 @@ export default {
// //
async fetchAndSetMaxItemNo(archivesNo) { async fetchAndSetMaxItemNo(archivesNo) {
try { try {
const response = await FetchMaxItemNoByArchivesNo({ archivesNo })
let categoryId
if (this.isDesFormType !== 'mergeFile' && this.isDesFormType !== 'arcives' && this.isDesFormType !== 'manageArcives') {
categoryId = this.selectedCategory.pid
} else {
categoryId = this.selectedCategory.id
}
let categoryLevel
if (this.isDesFormType === 'mergeFile') {
categoryLevel = 3
} else {
categoryLevel = this.collectLevel
}
const response = await FetchMaxItemNoByArchivesNo({ archivesNo, categoryId, categoryLevel })
console.log('查询最大件号响应:', response) console.log('查询最大件号响应:', response)
// //
this.maxItemNo = response this.maxItemNo = response

Loading…
Cancel
Save