diff --git a/src/views/wms/basicDataManage/labelManage/locationLabel/index.vue b/src/views/wms/basicDataManage/labelManage/locationLabel/index.vue index c4a6ca187..b9607c6ff 100644 --- a/src/views/wms/basicDataManage/labelManage/locationLabel/index.vue +++ b/src/views/wms/basicDataManage/labelManage/locationLabel/index.vue @@ -68,7 +68,7 @@ const tableColumns = ref(Package.allSchemas.tableColumns) /** - * PurchasePackage type = PurchaseLabel 采购件标签记录页面 + * PurchasePackage type = PurchaseLabel 采购件标签记录页面 * ManufacturePackage type = MakeLabel 制造件标签记录页面 * UtensilPackage type = ContainerLabel 器具标签记录页面 * SupplierPackage type = PurchaseLabel 供应商发货标签记录(用采购标签) @@ -150,7 +150,7 @@ const openForm = (type: string, row?: number) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"labelBarbasic") } /** 删除按钮操作 */ diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue index f055699ca..e3467083b 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue @@ -39,11 +39,11 @@ - { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"labelBarbasic") } /** 删除按钮操作 */ diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue index 683dacecf..afe60badd 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue @@ -39,11 +39,11 @@ - { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"labelBarbasic") } /** 删除按钮操作 */ diff --git a/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue b/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue index ef517c4e4..90eaa3478 100644 --- a/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue @@ -39,11 +39,11 @@ - { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"labelBarbasic") } /** 删除按钮操作 */ diff --git a/src/views/wms/countManage/count/countJobMain/index.vue b/src/views/wms/countManage/count/countJobMain/index.vue index ed55fdef0..a20f145ae 100644 --- a/src/views/wms/countManage/count/countJobMain/index.vue +++ b/src/views/wms/countManage/count/countJobMain/index.vue @@ -65,11 +65,11 @@ /> - { } else if( val == 'done'){ // 完成 handleDone(row.id) } - + } /** 关闭按钮操作 */ @@ -270,7 +270,7 @@ const handleDone = async (id: number) => { await CountJobMainApi.doneCountJobMain(id) await getList() } catch { - + } } @@ -282,7 +282,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"jobCountMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/countManage/count/countPlanMain/index.vue b/src/views/wms/countManage/count/countPlanMain/index.vue index cda7d8619..195ea6553 100644 --- a/src/views/wms/countManage/count/countPlanMain/index.vue +++ b/src/views/wms/countManage/count/countPlanMain/index.vue @@ -457,7 +457,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => { // getAreaAllList() // getLocationgroupAllList() // getLocationAllList() - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"planCountMain") } // 详情打开的编辑的时候设置盘点范围值列表 const detailOpenForm = (type, row) => { diff --git a/src/views/wms/countManage/count/countRecordMain/index.vue b/src/views/wms/countManage/count/countRecordMain/index.vue index f8603c0db..ab0a9db8b 100644 --- a/src/views/wms/countManage/count/countRecordMain/index.vue +++ b/src/views/wms/countManage/count/countRecordMain/index.vue @@ -154,7 +154,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordCountMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/countManage/count/countRequestMain/index.vue b/src/views/wms/countManage/count/countRequestMain/index.vue index 5b65dd4f1..9f5f3efda 100644 --- a/src/views/wms/countManage/count/countRequestMain/index.vue +++ b/src/views/wms/countManage/count/countRequestMain/index.vue @@ -97,7 +97,7 @@ @@ -284,7 +284,7 @@ const isShowGenerateMainButton = (row, val) => { const searchTableRef = ref() // 列表-操作按钮 const butttondata = (row,$index) => { - + return [ defaultButtons.mainListCloseBtn({hide: isShowMainButton(row, ['1', '2', '3', '4', '6']),hasPermi: 'wms:count-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide: isShowMainButton(row, ['5']),hasPermi: 'wms:count-request-main:reAdd'}), //重新添加 @@ -458,7 +458,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestCountMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue b/src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue index 0ea59d699..3b22a5f60 100644 --- a/src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue +++ b/src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue @@ -126,7 +126,7 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = (row,$index) => { - + return [] } @@ -140,7 +140,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordCountadjustMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue b/src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue index 58e2edbcc..68430d969 100644 --- a/src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue +++ b/src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue @@ -76,7 +76,7 @@ /> - @@ -266,7 +266,7 @@ const buttonTableClick = async (val, row) => { tableObject.loading = false console.log(err) }) - } else if (val == 'edit') { // 编辑 + } else if (val == 'edit') { // 编辑 openForm('update', row) } else if (val == 'delete') { // 删除 handleDelete(row.id) @@ -288,7 +288,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestCountadjustMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue b/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue index b2e734a86..036d0a32c 100644 --- a/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue +++ b/src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue @@ -245,7 +245,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"transactionContainerMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/inventoryManage/package/index.vue b/src/views/wms/inventoryManage/package/index.vue index 8601b4fc8..387e54f14 100644 --- a/src/views/wms/inventoryManage/package/index.vue +++ b/src/views/wms/inventoryManage/package/index.vue @@ -39,11 +39,11 @@ - { if (item.field == 'itemName') { item.componentProps.disabled = true } - }) + }) }else { Package.allSchemas.formSchema.forEach((item) => { if (item.field == 'number') { @@ -197,7 +197,7 @@ const openForm =async (type: string, row?: number) => { if (item.field == 'itemName') { item.componentProps.disabled = true } - }) + }) } basicFormRef.value.open(type, row) } @@ -205,7 +205,7 @@ const openForm =async (type: string, row?: number) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"transactionPackage") } /** 删除按钮操作 */ diff --git a/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue b/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue index 1c0177cee..f4dba5289 100644 --- a/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue +++ b/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue @@ -197,7 +197,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordContainerMain") } /** 添加/修改操作 */ diff --git a/src/views/wms/inventoryjobManage/packageManage/packagemergeMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packagemergeMain/index.vue index 8a544f9cf..03db5751b 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packagemergeMain/index.vue +++ b/src/views/wms/inventoryjobManage/packageManage/packagemergeMain/index.vue @@ -128,7 +128,7 @@ const buttonTableClick = async (val, row) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordPackagemergeMain") } /** 导出按钮操作 */ @@ -160,4 +160,4 @@ const searchFormClick = (searchData) => { onMounted(async () => { getList() }) - \ No newline at end of file + diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue index 6ec1b7dbd..493689051 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue +++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue @@ -172,7 +172,7 @@ const handlePoint = async (row) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordPackageoverMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue index 7f99c50dc..14e25e038 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue @@ -74,7 +74,7 @@ /> - @@ -125,7 +125,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow['fromPackQty'] = item['packQty'] tableData.value.push(newRow) }) - + } else if (formField == 'toPackUnit') { row['toPackUnit'] = val[0]['packUnit'] row['toPackQty'] = val[0]['packQty'] @@ -196,7 +196,7 @@ const HeadButttondata = [ // }, ] -const labelType = ref('') // 标签类别 采购还是制造等 +const labelType = ref('') // 标签类别 采购还是制造等 // 头部按钮事件 const buttonBaseClick = (val, item) => { @@ -317,7 +317,7 @@ const buttonTableClick = async (val, row) => { tableObject.loading = false console.log(err) }) - } else if (val == 'edit') { // 编辑 + } else if (val == 'edit') { // 编辑 openForm('update', row) } else if (val == 'delete') { // 删除 handleDelete(row.masterId) @@ -340,7 +340,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestPackageoverMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/inventoryjobManage/packageManage/packagesplitMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packagesplitMain/index.vue index 0b8be995a..ea18981cc 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packagesplitMain/index.vue +++ b/src/views/wms/inventoryjobManage/packageManage/packagesplitMain/index.vue @@ -128,7 +128,7 @@ const buttonTableClick = async (val, row) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordPackagesplitMain") } /** 导出按钮操作 */ @@ -160,4 +160,4 @@ const searchFormClick = (searchData) => { onMounted(async () => { getList() }) - \ No newline at end of file + diff --git a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue index b21efc68b..ff16d1679 100644 --- a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue +++ b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue @@ -240,7 +240,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestOnlinesettlementMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/issueManage/pick/pickJobMain/index.vue b/src/views/wms/issueManage/pick/pickJobMain/index.vue index fca7919b6..f15a0df81 100644 --- a/src/views/wms/issueManage/pick/pickJobMain/index.vue +++ b/src/views/wms/issueManage/pick/pickJobMain/index.vue @@ -203,7 +203,7 @@ const buttonTableClick = async (val, row) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"jobPickMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/issueManage/pick/pickRecordMain/index.vue b/src/views/wms/issueManage/pick/pickRecordMain/index.vue index 87352f916..452cf87da 100644 --- a/src/views/wms/issueManage/pick/pickRecordMain/index.vue +++ b/src/views/wms/issueManage/pick/pickRecordMain/index.vue @@ -136,7 +136,7 @@ const buttonTableClick = async (val, row) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordStockupMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/issueManage/pick/pickRequestMain/index.vue b/src/views/wms/issueManage/pick/pickRequestMain/index.vue index 38f9777c0..f33209171 100644 --- a/src/views/wms/issueManage/pick/pickRequestMain/index.vue +++ b/src/views/wms/issueManage/pick/pickRequestMain/index.vue @@ -245,7 +245,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestStockupMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue b/src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue index c1ba6e857..1160b62f2 100644 --- a/src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue +++ b/src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue @@ -190,7 +190,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordInventorychangeMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue index 7c0b349df..b2eba54fc 100644 --- a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue @@ -165,7 +165,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => } else { row[formField] = val[0][searchField] } - + } else { const setV = {} setV[formField] = val[0][searchField] @@ -378,7 +378,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestInventorychangeMain") } /** 删除按钮操作 */ diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue index 1c749d79f..582b7104b 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue @@ -288,7 +288,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"jobInventorymoveMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue index b788e1f57..aebbaa0dc 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue @@ -60,7 +60,7 @@ :apiPage="InventorymoveRecordDetailApi.getInventorymoveRecordDetailPage" /> - @@ -213,7 +213,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordInventorymoveMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue index d848a5834..42a7afe8b 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue @@ -77,7 +77,7 @@ /> - @@ -611,7 +611,7 @@ const openDetail = (row: any, titleName: any, titleValue: any) => { fromWarehouseCodeMain.value = row.fromWarehouseCode const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestInventorymoveMain") } /** 删除按钮操作 */ @@ -694,7 +694,7 @@ const submitForm = async (formType, submitData) => { if(data.masterId){ data.id = data.masterId } - data.subList = tableData.value // 拼接子表数据参数 + data.subList = tableData.value // 拼接子表数据参数 let isExist = false tableData.value.forEach(item => { let rs = tableData.value.filter(filterItem => (filterItem.fromPackingNumber == item.fromPackingNumber) ) @@ -711,13 +711,13 @@ const submitForm = async (formType, submitData) => { if(fromInventoryStatus.value){ item.fromInventoryStatus = fromInventoryStatus.value item.toInventoryStatus = toInventoryStatus.value - } + } if(item.qty == 0){ message.error(`到数量不能为0!`) flag.value = true return; - } - }) + } + }) if(flag.value){ formRef.value.formLoading = false return diff --git a/src/views/wms/moveManage/itemChange/index.vue b/src/views/wms/moveManage/itemChange/index.vue index 0e1632f26..aeee4dfea 100644 --- a/src/views/wms/moveManage/itemChange/index.vue +++ b/src/views/wms/moveManage/itemChange/index.vue @@ -103,7 +103,7 @@ const HeadButttondata = [ // }, ] -// 头部按钮事件 +// 头部按钮事件 const buttonBaseClick = (val, item) => { if (val == 'add') { // 新增 openForm('create') @@ -120,7 +120,7 @@ const buttonBaseClick = (val, item) => { getList() } } else if (val == 'filtrate') { // 筛选 - } else { // 其他按钮 + } else { // 其他按钮 console.log('其他按钮', item) } } @@ -131,7 +131,7 @@ const butttondata = [ // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // 删除 ] -// 列表-操作按钮事件 +// 列表-操作按钮事件 const buttonTableClick = async (val, row) => { if (val == 'edit') { // 编辑 openForm('update', row) @@ -150,7 +150,7 @@ const openForm = (type: string, row?: any) => { /** 详情操作 */ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"transactionBalance") } /** 删除按钮操作 */ @@ -229,4 +229,4 @@ onMounted(async () => { getList() // importTemplateData.templateUrl = await BalanceApi.importTemplate() }) - \ No newline at end of file + diff --git a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/index.vue b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/index.vue index 38483b3ed..f3342060f 100644 --- a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/index.vue +++ b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRecordMain/index.vue @@ -144,7 +144,7 @@ const detailRef = ref() const openDetail = (row: any, titleName: any, titleValue: any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordPurchaseclaimMain") } /** 导出按钮操作 */ diff --git a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue index c87d8c806..d95021822 100644 --- a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue +++ b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/index.vue @@ -29,35 +29,35 @@ - - @@ -181,7 +181,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' // }, ] - // 头部按钮事件 + // 头部按钮事件 const buttonBaseClick = (val, item) => { if (val == 'add') { // 新增 openForm('create') @@ -198,7 +198,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' getList() } } else if (val == 'filtrate') { // 筛选 - } else { // 其他按钮 + } else { // 其他按钮 console.log('其他按钮', item) } } @@ -241,7 +241,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' } } - // 列表-操作按钮事件 + // 列表-操作按钮事件 const buttonTableClick = async (val, row) => { if (val == 'mainPurPlanOpe') { // 打开 handleOpe(row.id) @@ -283,7 +283,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' const openDetail = (row : any, titleName : any, titleValue : any) => { const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"requestPurchaseclaimMain") } /** 删除按钮操作 */ @@ -302,8 +302,8 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' tableObject.loading = false } } - - + + /** 关闭按钮操作 */ const handleClo = async (id : number) => { try { @@ -320,7 +320,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' tableObject.loading = false } } - + /** 打开按钮操作 */ const handleOpe = async (id : number) => { try { @@ -337,7 +337,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' tableObject.loading = false } } - + /** 提交审批按钮操作 */ const handleSub = async (id : number) => { try { @@ -354,7 +354,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' tableObject.loading = false } } - + /** 审批通过按钮操作 */ const handleApp = async (id : number) => { try { @@ -371,7 +371,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' tableObject.loading = false } } - + /** 驳回按钮操作 */ const handleTur = async (id : number) => { try { @@ -388,7 +388,7 @@ import { getJmreportBaseUrl } from '@/utils/systemParam' tableObject.loading = false } } - + /** 处理按钮操作 */ const genRecords = async (id : number) => { try { diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue index 54788dd53..6fb5bc13c 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue @@ -17,7 +17,7 @@ { if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) - detailRef.value.openDetail(row, titleName, titleValue) + detailRef.value.openDetail(row, titleName, titleValue,"recordSupplierinvoiceMain") } const searchList = (model)=>{ if(model.postingDate&&model.postingDate.length>1){ diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 85e48838f..61ae6ee6b 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -5,14 +5,14 @@ - @@ -41,18 +41,18 @@ - - + > +