diff --git a/src/api/wms/bomDismantle/index.ts b/src/api/wms/bomDismantle/index.ts
index 0e98ed159..d014b113f 100644
--- a/src/api/wms/bomDismantle/index.ts
+++ b/src/api/wms/bomDismantle/index.ts
@@ -3,4 +3,9 @@ import request from '@/config/axios'
// 查询制品返修申请子列表
export const getBomDismantlePage = async (params) => {
return await request.get({ url: `/wms/productrepair-request-main/bomPage`, params })
-}
\ No newline at end of file
+}
+
+// 查询制品返修记录子列表
+export const getBomDismantleRecordPage = async (params) => {
+ return await request.get({ url: `/wms/productrepair-record-main/bomPage`, params })
+}
diff --git a/src/api/wms/productrepairRequestMain/index.ts b/src/api/wms/productrepairRequestMain/index.ts
index 869860143..032fe2afa 100644
--- a/src/api/wms/productrepairRequestMain/index.ts
+++ b/src/api/wms/productrepairRequestMain/index.ts
@@ -63,4 +63,34 @@ export const exportProductrepairRequestMain = async (params) => {
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/productrepair-request-main/get-import-template' })
-}
\ No newline at end of file
+}
+
+// 关闭-制品返修申请
+export const closeProductrepairRequestMain = async (id) => {
+ return await request.put({ url: `/wms/productrepair-request-main/close?id=` + id })
+}
+
+// 重新添加-制品返修申请
+export const reAddProductrepairRequestMain = async (id) => {
+ return await request.put({ url: `/wms/productrepair-request-main/reAdd?id=` + id })
+}
+
+// 提交审批-制品返修申请
+export const submitProductrepairRequestMain = async (id) => {
+ return await request.put({ url: `/wms/productrepair-request-main/submit?id=` + id })
+}
+
+// 审批驳回-制品返修申请
+export const refusedProductrepairRequestMain = async (id) => {
+ return await request.put({ url: `/wms/productrepair-request-main/refused?id=` + id })
+}
+
+// 审批通过-制品返修申请
+export const agreeProductrepairRequestMain = async (id) => {
+ return await request.put({ url: `/wms/productrepair-request-main/agree?id=` + id })
+}
+
+// 处理-制品返修申请
+export const handleProductrepairRequestMain = async (id) => {
+ return await request.put({ url: `/wms/productrepair-request-main/handle?id=` + id })
+}
diff --git a/src/views/infra/apiAccessLog/index.vue b/src/views/infra/apiAccessLog/index.vue
index 2306a3972..245f43334 100644
--- a/src/views/infra/apiAccessLog/index.vue
+++ b/src/views/infra/apiAccessLog/index.vue
@@ -153,7 +153,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await ApiAccessLogApi.exportApiAccessLog(queryParams)
- download.excel(data, 'API 访问日志.xls')
+ download.excel(data, 'API 访问日志.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/infra/apiErrorLog/index.vue b/src/views/infra/apiErrorLog/index.vue
index 4e6c41e4d..683675545 100644
--- a/src/views/infra/apiErrorLog/index.vue
+++ b/src/views/infra/apiErrorLog/index.vue
@@ -235,7 +235,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await ApiErrorLogApi.exportApiErrorLog(queryParams)
- download.excel(data, '异常日志.xls')
+ download.excel(data, '异常日志.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/infra/config/index.vue b/src/views/infra/config/index.vue
index 82554cbe8..85b4fc991 100644
--- a/src/views/infra/config/index.vue
+++ b/src/views/infra/config/index.vue
@@ -155,7 +155,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await ConfigApi.exportConfig(queryParams)
- download.excel(data, '参数配置.xls')
+ download.excel(data, '参数配置.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/infra/job/index.vue b/src/views/infra/job/index.vue
index 20b6220cc..d662abc17 100644
--- a/src/views/infra/job/index.vue
+++ b/src/views/infra/job/index.vue
@@ -155,7 +155,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await JobApi.exportJob(queryParams)
- download.excel(data, '定时任务.xls')
+ download.excel(data, '定时任务.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/infra/job/logger/index.vue b/src/views/infra/job/logger/index.vue
index afeb3c641..a9fb08f97 100644
--- a/src/views/infra/job/logger/index.vue
+++ b/src/views/infra/job/logger/index.vue
@@ -182,7 +182,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await JobLogApi.exportJobLog(queryParams)
- download.excel(data, '定时任务执行日志.xls')
+ download.excel(data, '定时任务执行日志.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/dict/data/index.vue b/src/views/system/dict/data/index.vue
index 2811f06aa..f07f1ae6a 100644
--- a/src/views/system/dict/data/index.vue
+++ b/src/views/system/dict/data/index.vue
@@ -194,7 +194,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await DictDataApi.exportDictData(queryParams)
- download.excel(data, '字典数据.xls')
+ download.excel(data, '字典数据.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index a89733519..f9a257af4 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -161,7 +161,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await DictTypeApi.exportDictType(queryParams)
- download.excel(data, '字典类型.xls')
+ download.excel(data, '字典类型.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/errorCode/index.vue b/src/views/system/errorCode/index.vue
index ade9c8fd2..dac5240a0 100644
--- a/src/views/system/errorCode/index.vue
+++ b/src/views/system/errorCode/index.vue
@@ -157,7 +157,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await ErrorCodeApi.excelErrorCode(queryParams)
- download.excel(data, '错误码.xls')
+ download.excel(data, '错误码.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/loginlog/index.vue b/src/views/system/loginlog/index.vue
index 9071915ef..997fcef9d 100644
--- a/src/views/system/loginlog/index.vue
+++ b/src/views/system/loginlog/index.vue
@@ -126,7 +126,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await LoginLogApi.exportLoginLog(queryParams)
- download.excel(data, '登录日志.xls')
+ download.excel(data, '登录日志.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/operatelog/index.vue b/src/views/system/operatelog/index.vue
index 09800d92a..3bfd3d20e 100644
--- a/src/views/system/operatelog/index.vue
+++ b/src/views/system/operatelog/index.vue
@@ -145,7 +145,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await OperateLogApi.exportOperateLog(queryParams)
- download.excel(data, '操作日志.xls')
+ download.excel(data, '操作日志.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 59b454233..6c2ae14ce 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -143,7 +143,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await PostApi.exportPost(queryParams)
- download.excel(data, '岗位列表.xls')
+ download.excel(data, '岗位列表.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 93dae9676..9a58903d9 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -250,7 +250,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await RoleApi.exportRole(queryParams)
- download.excel(data, '角色列表.xls')
+ download.excel(data, '角色列表.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/sensitiveWord/index.vue b/src/views/system/sensitiveWord/index.vue
index ce2a0b426..e01a3be2a 100644
--- a/src/views/system/sensitiveWord/index.vue
+++ b/src/views/system/sensitiveWord/index.vue
@@ -175,7 +175,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await SensitiveWordApi.exportSensitiveWord(queryParams)
- download.excel(data, '敏感词.xls')
+ download.excel(data, '敏感词.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/serialNumber/index.vue b/src/views/system/serialNumber/index.vue
index 2e7361408..0806906d5 100644
--- a/src/views/system/serialNumber/index.vue
+++ b/src/views/system/serialNumber/index.vue
@@ -168,7 +168,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await SerialNumberApi.exportSerialNumber(queryParams)
- download.excel(data, '流水号规则.xls')
+ download.excel(data, '流水号规则.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/sms/log/index.vue b/src/views/system/sms/log/index.vue
index 99be8508b..bc7c3ff60 100644
--- a/src/views/system/sms/log/index.vue
+++ b/src/views/system/sms/log/index.vue
@@ -171,7 +171,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await SmsLogApi.exportSmsLog(queryParams)
- download.excel(data, '短信日志.xls')
+ download.excel(data, '短信日志.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/sms/template/index.vue b/src/views/system/sms/template/index.vue
index 9bd0f9dd4..b9e478c60 100644
--- a/src/views/system/sms/template/index.vue
+++ b/src/views/system/sms/template/index.vue
@@ -197,7 +197,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await SmsTemplateApi.exportSmsTemplate(queryParams)
- download.excel(data, '短信模板.xls')
+ download.excel(data, '短信模板.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue
index 5de1ccc8f..e2650dbe4 100644
--- a/src/views/system/tenant/index.vue
+++ b/src/views/system/tenant/index.vue
@@ -177,7 +177,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await TenantApi.exportTenant(queryParams)
- download.excel(data, '租户列表.xls')
+ download.excel(data, '租户列表.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/system/user/UserImportForm.vue b/src/views/system/user/UserImportForm.vue
index 51b1702f9..b391087a9 100644
--- a/src/views/system/user/UserImportForm.vue
+++ b/src/views/system/user/UserImportForm.vue
@@ -130,6 +130,6 @@ const importTemplate = async () => {
console.log(await UserApi.importUserTemplate());
const res = await UserApi.importUserTemplate()
- download.excel(res, '用户导入模版.xls')
+ download.excel(res, '用户导入模版.xlsx')
}
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 4d2d7e2d4..632aa0442 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -195,7 +195,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await UserApi.exportUser(queryParams)
- download.excel(data, '用户数据.xls')
+ download.excel(data, '用户数据.xlsx')
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/basicDataManage/labelManage/barbasic/index.vue b/src/views/wms/basicDataManage/labelManage/barbasic/index.vue
index c75936594..bf430e928 100644
--- a/src/views/wms/basicDataManage/labelManage/barbasic/index.vue
+++ b/src/views/wms/basicDataManage/labelManage/barbasic/index.vue
@@ -191,7 +191,7 @@ const handleExport = async () => {
// 发起导出
exportLoading.value = true
const data = await BarbasicApi.exportBarbasic(setSearchParams)
- download.excel(data, '条码实体基类.xls')
+ download.excel(data, '条码实体基类.xlsx')
} catch {
} finally {
exportLoading.value = false
@@ -206,7 +206,7 @@ const handleImport = () => {
// 导入附件弹窗所需的参数
const importTemplateData = reactive({
templateUrl: '',
- templateTitle: '条码实体基类导入模版.xls'
+ templateTitle: '条码实体基类导入模版.xlsx'
})
// 导入成功之后
const importSuccess = () => {
diff --git a/src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue b/src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue
index 931ca768a..01f01d1d5 100644
--- a/src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue
+++ b/src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue
@@ -47,6 +47,7 @@
:tableAllSchemas="ProductrepairRecordDetail.allSchemas"
:tableFormRules="ProductrepairRecordDetailRules"
:isBusiness="true"
+ @buttonOperationClick="buttonOperationClick"
/>
@@ -57,15 +58,42 @@
:detailAllSchemas="ProductrepairRecordDetail.allSchemas"
:detailAllSchemasRules="ProductrepairRecordDetailRules"
:apiPage="ProductrepairRecordDetailApi.getProductrepairRecordDetailPage"
+ :buttondataTable="buttondataTable"
+ @tableFormButton="tableFormButton"
/>
+
+
+
+
+