嘉祥鑫广宇xgy‑oa系统 完整初始化提交

This commit is contained in:
2026-05-14 11:38:49 +08:00
parent 01a06566ee
commit 9a4c02a22e
67 changed files with 580 additions and 173 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"java.compile.nullAnalysis.mode": "automatic"
}

176
cleanup_data.sql Normal file
View File

@@ -0,0 +1,176 @@
SET FOREIGN_KEY_CHECKS = 0;
-- ==============================================
-- 清理流程管理相关表Flowable流程引擎
-- ==============================================
-- 流程运行时任务表
TRUNCATE TABLE `ACT_RU_TASK`;
TRUNCATE TABLE `ACT_RU_EXECUTION`;
TRUNCATE TABLE `ACT_RU_VARIABLE`;
TRUNCATE TABLE `ACT_RU_IDENTITYLINK`;
TRUNCATE TABLE `ACT_RU_EVENT_SUBSCR`;
TRUNCATE TABLE `ACT_RU_ENTITYLINK`;
TRUNCATE TABLE `ACT_RU_JOB`;
TRUNCATE TABLE `ACT_RU_TIMER_JOB`;
TRUNCATE TABLE `ACT_RU_SUSPENDED_JOB`;
TRUNCATE TABLE `ACT_RU_DEADLETTER_JOB`;
TRUNCATE TABLE `ACT_RU_EXTERNAL_JOB`;
TRUNCATE TABLE `ACT_RU_HISTORY_JOB`;
TRUNCATE TABLE `ACT_RU_ACTINST`;
-- 流程历史表
TRUNCATE TABLE `ACT_HI_TASKINST`;
TRUNCATE TABLE `ACT_HI_PROCINST`;
TRUNCATE TABLE `ACT_HI_ACTINST`;
TRUNCATE TABLE `ACT_HI_VARINST`;
TRUNCATE TABLE `ACT_HI_DETAIL`;
TRUNCATE TABLE `ACT_HI_COMMENT`;
TRUNCATE TABLE `ACT_HI_ATTACHMENT`;
TRUNCATE TABLE `ACT_HI_IDENTITYLINK`;
TRUNCATE TABLE `ACT_HI_ENTITYLINK`;
TRUNCATE TABLE `ACT_HI_TSK_LOG`;
-- 流程定义表
TRUNCATE TABLE `ACT_RE_PROCDEF`;
TRUNCATE TABLE `ACT_RE_DEPLOYMENT`;
TRUNCATE TABLE `ACT_RE_MODEL`;
TRUNCATE TABLE `ACT_PROCDEF_INFO`;
TRUNCATE TABLE `ACT_GE_BYTEARRAY`;
TRUNCATE TABLE `ACT_EVT_LOG`;
-- 事件注册表
TRUNCATE TABLE `FLW_EVENT_DEFINITION`;
TRUNCATE TABLE `FLW_CHANNEL_DEFINITION`;
TRUNCATE TABLE `FLW_EVENT_DEPLOYMENT`;
TRUNCATE TABLE `FLW_EVENT_RESOURCE`;
TRUNCATE TABLE `FLW_RU_BATCH`;
TRUNCATE TABLE `FLW_RU_BATCH_PART`;
-- ==============================================
-- 清理工作流相关表(自定义工作流)
-- ==============================================
TRUNCATE TABLE `wf_form`;
TRUNCATE TABLE `wf_deploy_form`;
TRUNCATE TABLE `wf_category`;
TRUNCATE TABLE `wf_copy`;
-- ==============================================
-- 清理设备管理相关表
-- ==============================================
TRUNCATE TABLE `dv_repair`;
TRUNCATE TABLE `dv_repair_line`;
TRUNCATE TABLE `dv_check_record`;
TRUNCATE TABLE `dv_check_record_line`;
TRUNCATE TABLE `dv_check_machinery`;
TRUNCATE TABLE `dv_check_plan`;
TRUNCATE TABLE `dv_check_subject`;
TRUNCATE TABLE `dv_mainten_record`;
TRUNCATE TABLE `dv_mainten_record_line`;
TRUNCATE TABLE `dv_machinery`;
TRUNCATE TABLE `dv_subject`;
-- 保留设备类型表(基础数据)
-- TRUNCATE TABLE `dv_machinery_type`;
-- ==============================================
-- 清理WMS业务表非库存相关
-- ==============================================
-- 订单相关
TRUNCATE TABLE `wms_order`;
TRUNCATE TABLE `wms_order_detail`;
TRUNCATE TABLE `wms_order_profit`;
-- 采购相关
TRUNCATE TABLE `wms_purchase_plan`;
TRUNCATE TABLE `wms_purchase_plan_detail`;
-- 排产相关
TRUNCATE TABLE `wms_schedule_plan`;
TRUNCATE TABLE `wms_schedule_plan_detail`;
-- 生产相关
TRUNCATE TABLE `wms_production_line`;
TRUNCATE TABLE `wms_process_task`;
TRUNCATE TABLE `wms_processe`;
TRUNCATE TABLE `wms_product_processe`;
TRUNCATE TABLE `wms_product_bom`;
TRUNCATE TABLE `wms_bom`;
TRUNCATE TABLE `wms_bom_item`;
TRUNCATE TABLE `wms_production_task`;
-- 财务相关
TRUNCATE TABLE `wms_account`;
TRUNCATE TABLE `wms_financial_document`;
TRUNCATE TABLE `wms_journal_entry`;
TRUNCATE TABLE `wms_journal`;
TRUNCATE TABLE `wms_payable`;
TRUNCATE TABLE `wms_receivable`;
-- 合同与供应商
TRUNCATE TABLE `wms_contract`;
TRUNCATE TABLE `wms_supplier`;
-- 客户管理
TRUNCATE TABLE `wms_customer`;
-- 质量检验
TRUNCATE TABLE `wms_check_item`;
TRUNCATE TABLE `wms_check_task`;
TRUNCATE TABLE `wms_check_task_item`;
TRUNCATE TABLE `wms_common_defect`;
-- 其他
TRUNCATE TABLE `wms_camera_management`;
TRUNCATE TABLE `wms_express`;
TRUNCATE TABLE `wms_express_question`;
TRUNCATE TABLE `wms_product_sales_script`;
TRUNCATE TABLE `wms_batch`;
TRUNCATE TABLE `wms_report_detail`;
TRUNCATE TABLE `wms_report_summary`;
TRUNCATE TABLE `wms_product_spec`;
TRUNCATE TABLE `wms_product_spec_group`;
-- ==============================================
-- 清理质量检验相关表
-- ==============================================
TRUNCATE TABLE `is_inspection_commission`;
TRUNCATE TABLE `is_inspection_task`;
TRUNCATE TABLE `is_sample_inventory`;
-- ==============================================
-- 清理代码生成相关表
-- ==============================================
TRUNCATE TABLE `gen_table`;
TRUNCATE TABLE `gen_table_column`;
-- ==============================================
-- 清理系统日志表
-- ==============================================
TRUNCATE TABLE `sys_oper_log`;
TRUNCATE TABLE `sys_logininfor`;
TRUNCATE TABLE `sys_oss`;
-- ==============================================
-- 重置自增ID可选
-- ==============================================
ALTER TABLE `dv_machinery_type` AUTO_INCREMENT = 1;
ALTER TABLE `wms_category` AUTO_INCREMENT = 1;
ALTER TABLE `wms_raw_material` AUTO_INCREMENT = 1;
ALTER TABLE `wms_product` AUTO_INCREMENT = 1;
ALTER TABLE `wms_warehouse` AUTO_INCREMENT = 1;
ALTER TABLE `wms_stock` AUTO_INCREMENT = 1;
ALTER TABLE `wms_stock_io` AUTO_INCREMENT = 1;
ALTER TABLE `wms_stock_io_detail` AUTO_INCREMENT = 1;
ALTER TABLE `wms_stock_log` AUTO_INCREMENT = 1;
SET FOREIGN_KEY_CHECKS = 1;
SELECT '数据清理完成!' AS result;

153
cleanup_zinc_data.sql Normal file
View File

@@ -0,0 +1,153 @@
SET FOREIGN_KEY_CHECKS = 0;
-- ==============================================
-- 镀锌板块数据清理脚本
-- 涉及仓库ID
-- 1988150263284953089 - 镀锌原料库
-- 1988150323162836993 - 镀锌成品库
-- 1988150487185289217 - 镀锌纵剪分条原料库
-- 1988150380649967617 - 镀锌分条成品库
-- ==============================================
-- 定义镀锌仓库ID集合
SET @zinc_warehouse_ids = '1988150263284953089,1988150323162836993,1988150487185289217,1988150380649967617';
-- ==============================================
-- 0. 先获取所有镀锌相关的实际库区ID包括子级
-- ==============================================
CREATE TEMPORARY TABLE temp_zinc_actual_warehouse_ids AS
WITH RECURSIVE zinc_warehouses AS (
SELECT actual_warehouse_id
FROM `wms_actual_warehouse`
WHERE warehouse_id IN (1988150263284953089, 1988150323162836993, 1988150487185289217, 1988150380649967617)
UNION ALL
SELECT w.actual_warehouse_id
FROM `wms_actual_warehouse` w
INNER JOIN zinc_warehouses zw ON w.parent_id = zw.actual_warehouse_id
)
SELECT actual_warehouse_id FROM zinc_warehouses;
-- ==============================================
-- 1. 删除钢卷相关数据
-- ==============================================
-- 钢卷仓库操作记录
DELETE FROM `wms_coil_warehouse_operation_`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷异常记录
DELETE FROM `wms_coil_abnormal`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷缓存记录
DELETE FROM `wms_coil_cache`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷待处理动作
DELETE FROM `wms_coil_pending_action`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷包装明细
DELETE FROM `wms_coil_packing_detail`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷包装记录
DELETE FROM `wms_coil_packing_record`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷质量复判
DELETE FROM `wms_coil_quality_rejudge`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 钢卷统计汇总
DELETE FROM `wms_coil_statistics_summary`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- ==============================================
-- 2. 删除出入库相关数据
-- ==============================================
-- 先获取涉及镀锌仓库的出入库单ID
CREATE TEMPORARY TABLE temp_zinc_io_ids AS
SELECT DISTINCT stock_io_id
FROM `wms_stock_io_detail`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids)
OR from_warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 删除出入库明细
DELETE FROM `wms_stock_io_detail`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids)
OR from_warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 删除出入库单
DELETE FROM `wms_stock_io`
WHERE stock_io_id IN (SELECT stock_io_id FROM temp_zinc_io_ids);
-- ==============================================
-- 3. 删除库存相关数据
-- ==============================================
-- 删除库存记录
DELETE FROM `wms_stock`
WHERE warehouse_id IN (1988150263284953089, 1988150323162836993, 1988150487185289217, 1988150380649967617);
-- 删除钢卷物料记录
DELETE FROM `wms_material_coil`
WHERE actual_warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- 删除库存流水记录
DELETE FROM `wms_stock_log`
WHERE warehouse_id IN (1988150263284953089, 1988150323162836993, 1988150487185289217, 1988150380649967617);
-- ==============================================
-- 4. 删除仓库/库区/库位记录
-- ==============================================
DELETE FROM `wms_warehouse`
WHERE warehouse_id IN (1988150263284953089, 1988150323162836993, 1988150487185289217, 1988150380649967617);
-- 删除实际库区/库位记录(包括所有子级)
DELETE FROM `wms_actual_warehouse`
WHERE actual_warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- ==============================================
-- 5. 删除发货计划相关数据
-- ==============================================
DELETE FROM `wms_delivery_plan_coil_operate`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- ==============================================
-- 6. 删除质量检查任务相关数据
-- ==============================================
DELETE FROM `wms_check_task_item`
WHERE check_task_id IN (
SELECT check_task_id FROM `wms_check_task`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids)
);
DELETE FROM `wms_check_task`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids);
-- ==============================================
-- 7. 删除检查任务与钢卷关联数据
-- ==============================================
DELETE FROM `wms_check_task_coil_relation`
WHERE check_task_id IN (
SELECT check_task_id FROM `wms_check_task`
WHERE warehouse_id IN (SELECT actual_warehouse_id FROM temp_zinc_actual_warehouse_ids)
);
-- ==============================================
-- 清理临时表
-- ==============================================
DROP TEMPORARY TABLE IF EXISTS temp_zinc_io_ids;
DROP TEMPORARY TABLE IF EXISTS temp_zinc_actual_warehouse_ids;
SET FOREIGN_KEY_CHECKS = 1;
SELECT '镀锌板块数据清理完成!' AS result;

59
create_xgy_system.bat Normal file
View File

@@ -0,0 +1,59 @@
@echo off
chcp 65001 >nul
echo ========================================
echo 創建鑫廣宇系統 - 完整腳本
echo ========================================
echo.
echo 步驟1: 複製項目到 xgy-oa 目錄...
xcopy /E /I /Y "d:\klp-oa\klp-oa" "d:\klp-oa\xgy-oa"
if %errorlevel% neq 0 (
echo 複製失敗,請手動複製項目
pause
exit /b 1
)
echo.
echo 步驟2: 替換 vue.config.js 中的內容...
powershell -Command "(Get-Content 'd:\klp-oa\xgy-oa\klp-ui\vue.config.js') -replace '琛德', '鑫廣宇' | Set-Content 'd:\klp-oa\xgy-oa\klp-ui\vue.config.js' -Encoding UTF8"
echo.
echo 步驟3: 替換 views 目錄中的文件...
powershell -Command "(Get-ChildItem -Path 'd:\klp-oa\xgy-oa\klp-ui\src\views' -Recurse -Include *.vue -Exclude *.md | ForEach-Object { (Get-Content $_.FullName -Raw) -replace '琛德', '鑫廣宇' | Set-Content $_.FullName -Encoding UTF8 })"
echo.
echo 步驟4: 替換 api 目錄中的文件...
powershell -Command "(Get-ChildItem -Path 'd:\klp-oa\xgy-oa\klp-ui\src\api' -Recurse -Include *.js | ForEach-Object { (Get-Content $_.FullName -Raw) -replace '琛德', '鑫廣宇' | Set-Content $_.FullName -Encoding UTF8 })"
echo.
echo 步驟5: 替換 layout 目錄中的文件...
powershell -Command "(Get-ChildItem -Path 'd:\klp-oa\xgy-oa\klp-ui\src\layout' -Recurse -Include *.vue | ForEach-Object { (Get-Content $_.FullName -Raw) -replace '琛德', '鑫廣宇' | Set-Content $_.FullName -Encoding UTF8 })"
echo.
echo 步驟6: 替換 components 目錄中的文件...
powershell -Command "(Get-ChildItem -Path 'd:\klp-oa\xgy-oa\klp-ui\src\components' -Recurse -Include *.vue | ForEach-Object { (Get-Content $_.FullName -Raw) -replace '琛德', '鑫廣宇' | Set-Content $_.FullName -Encoding UTF8 })"
echo.
echo 步驟7: 替換 utils 目錄中的文件...
powershell -Command "(Get-ChildItem -Path 'd:\klp-oa\xgy-oa\klp-ui\src\utils' -Recurse -Include *.js | ForEach-Object { (Get-Content $_.FullName -Raw) -replace '琛德', '鑫廣宇' | Set-Content $_.FullName -Encoding UTF8 })"
echo.
echo ========================================
echo 鑫廣宇系統創建完成!
echo ========================================
echo.
echo 以下目錄中的文件需要手動檢查並替換:
echo - d:\klp-oa\xgy-oa\klp-ui\src\plugins\
echo - d:\klp-oa\xgy-oa\klp-ui\src\directive\
echo - d:\klp-oa\xgy-oa\klp-ui\src\store\
echo - d:\klp-oa\xgy-oa\klp-ui\src\router\
echo - d:\klp-oa\xgy-oa\klp-ui\src\assets\
echo.
echo 建議使用 VS Code 的查找替換功能:
echo 1. 打開 d:\klp-oa\xgy-oa 文件夾
echo 2. 按 Ctrl+Shift+H 打開全局替換
echo 3. 搜索 "琛德"
echo 4. 替換為 "鑫廣宇"
echo 5. 點擊 "全部替換"
echo.
pause

View File

@@ -75,7 +75,7 @@ spring:
url: jdbc:mysql://140.143.206.120:13306/klp-oa-test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
username: klp
password: KeLunPu@123
# 从库数据源
# 从库数据源
acid:
lazy: true
type: ${spring.datasource.type}

View File

@@ -62,13 +62,13 @@ spring:
datasource:
# 主库数据源
master:
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://140.143.206.120:13306/klp-oa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: klp
password: KeLunPu@123
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://140.143.206.120:13306/klp-oa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: klp
password: KeLunPu@123
# 从库数据源(酸轧库)
acid:
lazy: true

View File

@@ -1,5 +1,5 @@
{
"name": "klp-flowable-plus",
"name": "xgy-flowable-plus",
"version": "0.8.3",
"description": "RuoYi-Flowable-Plus后台管理系统",
"author": "KonBAI",
@@ -34,7 +34,7 @@
],
"repository": {
"type": "git",
"url": "https://gitee.com/KonBAI-Q/klp-flowable-plus.git"
"url": "https://gitee.com/KonBAI-Q/xgy-flowable-plus.git"
},
"dependencies": {
"@babel/parser": "7.7.4",

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询会计科目列表
export function listAccount(query) {
return request({
url: '/klp/account/list',
url: '/xgy/account/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listAccount(query) {
// 查询会计科目详细
export function getAccount(accountId) {
return request({
url: '/klp/account/' + accountId,
url: '/xgy/account/' + accountId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getAccount(accountId) {
// 新增会计科目
export function addAccount(data) {
return request({
url: '/klp/account',
url: '/xgy/account',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addAccount(data) {
// 修改会计科目
export function updateAccount(data) {
return request({
url: '/klp/account',
url: '/xgy/account',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateAccount(data) {
// 删除会计科目
export function delAccount(accountId) {
return request({
url: '/klp/account/' + accountId,
url: '/xgy/account/' + accountId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询财务单据列表
export function listFinancialDocument(query) {
return request({
url: '/klp/financialDocument/list',
url: '/xgy/financialDocument/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listFinancialDocument(query) {
// 查询财务单据详细
export function getFinancialDocument(documentId) {
return request({
url: '/klp/financialDocument/' + documentId,
url: '/xgy/financialDocument/' + documentId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getFinancialDocument(documentId) {
// 新增财务单据
export function addFinancialDocument(data) {
return request({
url: '/klp/financialDocument',
url: '/xgy/financialDocument',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addFinancialDocument(data) {
// 修改财务单据
export function updateFinancialDocument(data) {
return request({
url: '/klp/financialDocument',
url: '/xgy/financialDocument',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateFinancialDocument(data) {
// 删除财务单据
export function delFinancialDocument(documentId) {
return request({
url: '/klp/financialDocument/' + documentId,
url: '/xgy/financialDocument/' + documentId,
method: 'delete'
})
}
@@ -46,7 +46,7 @@ export function delFinancialDocument(documentId) {
// 创建财务单据,带明细,使用借贷记账法
export function addFinancialDocumentWithDetail(data) {
return request({
url: '/klp/financialDocument/addDetail',
url: '/xgy/financialDocument/addDetail',
method: 'post',
data: data
})
@@ -55,7 +55,7 @@ export function addFinancialDocumentWithDetail(data) {
// 查询带明细的财务单据
export function listFinancialDocumentWithDetail(query) {
return request({
url: '/klp/financialDocument/ListDetail',
url: '/xgy/financialDocument/ListDetail',
method: 'get',
params: query
})

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询日记账凭证(宽松版)列表
export function listJournalEntry(query) {
return request({
url: '/klp/journalEntry/list',
url: '/xgy/journalEntry/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listJournalEntry(query) {
// 查询日记账凭证(宽松版)详细
export function getJournalEntry(entryId) {
return request({
url: '/klp/journalEntry/' + entryId,
url: '/xgy/journalEntry/' + entryId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getJournalEntry(entryId) {
// 新增日记账凭证(宽松版)
export function addJournalEntry(data) {
return request({
url: '/klp/journalEntry',
url: '/xgy/journalEntry',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addJournalEntry(data) {
// 修改日记账凭证(宽松版)
export function updateJournalEntry(data) {
return request({
url: '/klp/journalEntry',
url: '/xgy/journalEntry',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateJournalEntry(data) {
// 删除日记账凭证(宽松版)
export function delJournalEntry(entryId) {
return request({
url: '/klp/journalEntry/' + entryId,
url: '/xgy/journalEntry/' + entryId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询资金日记账列表
export function listJournal(query) {
return request({
url: '/klp/journal/list',
url: '/xgy/journal/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listJournal(query) {
// 查询资金日记账详细
export function getJournal(journalId) {
return request({
url: '/klp/journal/' + journalId,
url: '/xgy/journal/' + journalId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getJournal(journalId) {
// 新增资金日记账
export function addJournal(data) {
return request({
url: '/klp/journal',
url: '/xgy/journal',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addJournal(data) {
// 修改资金日记账
export function updateJournal(data) {
return request({
url: '/klp/journal',
url: '/xgy/journal',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateJournal(data) {
// 删除资金日记账
export function delJournal(journalId) {
return request({
url: '/klp/journal/' + journalId,
url: '/xgy/journal/' + journalId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询其他收入列表
export function listOtherIncome(query) {
return request({
url: '/klp/otherIncome/list',
url: '/xgy/otherIncome/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listOtherIncome(query) {
// 查询其他收入详细
export function getOtherIncome(otherIncomeId) {
return request({
url: '/klp/otherIncome/' + otherIncomeId,
url: '/xgy/otherIncome/' + otherIncomeId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getOtherIncome(otherIncomeId) {
// 新增其他收入
export function addOtherIncome(data) {
return request({
url: '/klp/otherIncome',
url: '/xgy/otherIncome',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addOtherIncome(data) {
// 修改其他收入
export function updateOtherIncome(data) {
return request({
url: '/klp/otherIncome',
url: '/xgy/otherIncome',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateOtherIncome(data) {
// 删除其他收入
export function delOtherIncome(otherIncomeId) {
return request({
url: '/klp/otherIncome/' + otherIncomeId,
url: '/xgy/otherIncome/' + otherIncomeId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询应付款管理(宽松版)列表
export function listPayable(query) {
return request({
url: '/klp/payable/list',
url: '/xgy/payable/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listPayable(query) {
// 查询应付款管理(宽松版)详细
export function getPayable(payableId) {
return request({
url: '/klp/payable/' + payableId,
url: '/xgy/payable/' + payableId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getPayable(payableId) {
// 新增应付款管理(宽松版)
export function addPayable(data) {
return request({
url: '/klp/payable',
url: '/xgy/payable',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addPayable(data) {
// 修改应付款管理(宽松版)
export function updatePayable(data) {
return request({
url: '/klp/payable',
url: '/xgy/payable',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updatePayable(data) {
// 删除应付款管理(宽松版)
export function delPayable(payableId) {
return request({
url: '/klp/payable/' + payableId,
url: '/xgy/payable/' + payableId,
method: 'delete'
})
}
@@ -46,7 +46,7 @@ export function delPayable(payableId) {
// 付款
export function updatePaidAmount(data) {
return request({
url: '/klp/payable/updatePaidAmount',
url: '/xgy/payable/updatePaidAmount',
method: 'post',
data: data
})

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询应收款管理(宽松版)列表
export function listReceivable(query) {
return request({
url: '/klp/receivable/list',
url: '/xgy/receivable/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listReceivable(query) {
// 查询应收款管理(宽松版)详细
export function getReceivable(receivableId) {
return request({
url: '/klp/receivable/' + receivableId,
url: '/xgy/receivable/' + receivableId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getReceivable(receivableId) {
// 新增应收款管理(宽松版)
export function addReceivable(data) {
return request({
url: '/klp/receivable',
url: '/xgy/receivable',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addReceivable(data) {
// 修改应收款管理(宽松版)
export function updateReceivable(data) {
return request({
url: '/klp/receivable',
url: '/xgy/receivable',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateReceivable(data) {
// 删除应收款管理(宽松版)
export function delReceivable(receivableId) {
return request({
url: '/klp/receivable/' + receivableId,
url: '/xgy/receivable/' + receivableId,
method: 'delete'
})
}
@@ -46,7 +46,7 @@ export function delReceivable(receivableId) {
// 收款
export function updatePaidAmount(data) {
return request({
url: '/klp/receivable/updatePaidAmount',
url: '/xgy/receivable/updatePaidAmount',
method: 'post',
data: data
})

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询批次(合并相同工艺的任务)列表
export function listBatch(query) {
return request({
url: '/klp/batch/list',
url: '/xgy/batch/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listBatch(query) {
// 查询批次(合并相同工艺的任务)详细
export function getBatch(batchId) {
return request({
url: '/klp/batch/' + batchId,
url: '/xgy/batch/' + batchId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getBatch(batchId) {
// 新增批次(合并相同工艺的任务)
export function addBatch(data) {
return request({
url: '/klp/batch',
url: '/xgy/batch',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addBatch(data) {
// 修改批次(合并相同工艺的任务)
export function updateBatch(data) {
return request({
url: '/klp/batch',
url: '/xgy/batch',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateBatch(data) {
// 删除批次(合并相同工艺的任务)
export function delBatch(batchId) {
return request({
url: '/klp/batch/' + batchId,
url: '/xgy/batch/' + batchId,
method: 'delete'
})
}
@@ -46,7 +46,7 @@ export function delBatch(batchId) {
// 检测批次生成方案是否会出现死锁
export function checkBatchLock(data) {
return request({
url: '/klp/batch/check',
url: '/xgy/batch/check',
method: 'post',
data: data
})
@@ -56,7 +56,7 @@ export function checkBatchLock(data) {
// 给出一个可行的批次生成方案
export function generateBatch(data) {
return request({
url: '/klp/batch/generate',
url: '/xgy/batch/generate',
method: 'post',
data: data
})

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询BOM 头,关联产品或原材料列表
export function listBom(query) {
return request({
url: '/klp/bom/list',
url: '/xgy/bom/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listBom(query) {
// 查询BOM 头,关联产品或原材料详细
export function getBom(bomId) {
return request({
url: '/klp/bom/' + bomId,
url: '/xgy/bom/' + bomId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getBom(bomId) {
// 新增BOM 头,关联产品或原材料
export function addBom(data) {
return request({
url: '/klp/bom',
url: '/xgy/bom',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addBom(data) {
// 修改BOM 头,关联产品或原材料
export function updateBom(data) {
return request({
url: '/klp/bom',
url: '/xgy/bom',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateBom(data) {
// 删除BOM 头,关联产品或原材料
export function delBom(bomId) {
return request({
url: '/klp/bom/' + bomId,
url: '/xgy/bom/' + bomId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺列表
export function listProcesse(query) {
return request({
url: '/klp/processe/list',
url: '/xgy/processe/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProcesse(query) {
// 查询工艺详细
export function getProcesse(processId) {
return request({
url: '/klp/processe/' + processId,
url: '/xgy/processe/' + processId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getProcesse(processId) {
// 新增工艺
export function addProcesse(data) {
return request({
url: '/klp/processe',
url: '/xgy/processe',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addProcesse(data) {
// 修改工艺
export function updateProcesse(data) {
return request({
url: '/klp/processe',
url: '/xgy/processe',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateProcesse(data) {
// 删除工艺
export function delProcesse(processId) {
return request({
url: '/klp/processe/' + processId,
url: '/xgy/processe/' + processId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询二维码生成记录列表
export function listGenerateRecord(query) {
return request({
url: '/klp/generateRecord/list',
url: '/xgy/generateRecord/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listGenerateRecord(query) {
// 查询二维码生成记录详细
export function getGenerateRecord(recordId) {
return request({
url: '/klp/generateRecord/' + recordId,
url: '/xgy/generateRecord/' + recordId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getGenerateRecord(recordId) {
// 新增二维码生成记录
export function addGenerateRecord(data) {
return request({
url: '/klp/generateRecord',
url: '/xgy/generateRecord',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addGenerateRecord(data) {
// 修改二维码生成记录
export function updateGenerateRecord(data) {
return request({
url: '/klp/generateRecord',
url: '/xgy/generateRecord',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateGenerateRecord(data) {
// 删除二维码生成记录
export function delGenerateRecord(recordId) {
return request({
url: '/klp/generateRecord/' + recordId,
url: '/xgy/generateRecord/' + recordId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺任务(生产计划所需工艺任务)列表
export function listProcessTask(query) {
return request({
url: '/klp/processTask/list',
url: '/xgy/processTask/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProcessTask(query) {
// 查询工艺任务(生产计划所需工艺任务)详细
export function getProcessTask(taskId) {
return request({
url: '/klp/processTask/' + taskId,
url: '/xgy/processTask/' + taskId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getProcessTask(taskId) {
// 新增工艺任务(生产计划所需工艺任务)
export function addProcessTask(data) {
return request({
url: '/klp/processTask',
url: '/xgy/processTask',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addProcessTask(data) {
// 修改工艺任务(生产计划所需工艺任务)
export function updateProcessTask(data) {
return request({
url: '/klp/processTask',
url: '/xgy/processTask',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateProcessTask(data) {
// 删除工艺任务(生产计划所需工艺任务)
export function delProcessTask(taskId) {
return request({
url: '/klp/processTask/' + taskId,
url: '/xgy/processTask/' + taskId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询库存流水列表
export function listStockLog(query) {
return request({
url: '/klp/stockLog/list',
url: '/xgy/stockLog/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listStockLog(query) {
// 查询库存流水详细
export function getStockLog(id) {
return request({
url: '/klp/stockLog/' + id,
url: '/xgy/stockLog/' + id,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getStockLog(id) {
// 新增库存流水
export function addStockLog(data) {
return request({
url: '/klp/stockLog',
url: '/xgy/stockLog',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addStockLog(data) {
// 修改库存流水
export function updateStockLog(data) {
return request({
url: '/klp/stockLog',
url: '/xgy/stockLog',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateStockLog(data) {
// 删除库存流水
export function delStockLog(id) {
return request({
url: '/klp/stockLog/' + id,
url: '/xgy/stockLog/' + id,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询制造规范列表
export function listManufacturingSpec(query) {
return request({
url: '/klp/manufacturingSpec/list',
url: '/xgy/manufacturingSpec/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listManufacturingSpec(query) {
// 查询制造规范详细
export function getManufacturingSpec(specId) {
return request({
url: '/klp/manufacturingSpec/' + specId,
url: '/xgy/manufacturingSpec/' + specId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getManufacturingSpec(specId) {
// 新增制造规范
export function addManufacturingSpec(data) {
return request({
url: '/klp/manufacturingSpec',
url: '/xgy/manufacturingSpec',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addManufacturingSpec(data) {
// 修改制造规范
export function updateManufacturingSpec(data) {
return request({
url: '/klp/manufacturingSpec',
url: '/xgy/manufacturingSpec',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateManufacturingSpec(data) {
// 删除制造规范
export function delManufacturingSpec(specId) {
return request({
url: '/klp/manufacturingSpec/' + specId,
url: '/xgy/manufacturingSpec/' + specId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询产品规范(键值对模式)列表
export function listProductSpec(query) {
return request({
url: '/klp/productSpec/list',
url: '/xgy/productSpec/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProductSpec(query) {
// 查询产品规范(键值对模式)详细
export function getProductSpec(specId) {
return request({
url: '/klp/productSpec/' + specId,
url: '/xgy/productSpec/' + specId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getProductSpec(specId) {
// 新增产品规范(键值对模式)
export function addProductSpec(data) {
return request({
url: '/klp/productSpec',
url: '/xgy/productSpec',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addProductSpec(data) {
// 修改产品规范(键值对模式)
export function updateProductSpec(data) {
return request({
url: '/klp/productSpec',
url: '/xgy/productSpec',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateProductSpec(data) {
// 删除产品规范(键值对模式)
export function delProductSpec(specId) {
return request({
url: '/klp/productSpec/' + specId,
url: '/xgy/productSpec/' + specId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询产品规范组列表
export function listProductSpecGroup(query) {
return request({
url: '/klp/productSpecGroup/list',
url: '/xgy/productSpecGroup/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProductSpecGroup(query) {
// 查询产品规范组详细
export function getProductSpecGroup(groupId) {
return request({
url: '/klp/productSpecGroup/' + groupId,
url: '/xgy/productSpecGroup/' + groupId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getProductSpecGroup(groupId) {
// 新增产品规范组
export function addProductSpecGroup(data) {
return request({
url: '/klp/productSpecGroup',
url: '/xgy/productSpecGroup',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addProductSpecGroup(data) {
// 修改产品规范组
export function updateProductSpecGroup(data) {
return request({
url: '/klp/productSpecGroup',
url: '/xgy/productSpecGroup',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateProductSpecGroup(data) {
// 删除产品规范组
export function delProductSpecGroup(groupId) {
return request({
url: '/klp/productSpecGroup/' + groupId,
url: '/xgy/productSpecGroup/' + groupId,
method: 'delete'
})
}

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询生产任务列表
export function listProductionTask(query) {
return request({
url: '/klp/productionTask/list',
url: '/xgy/productionTask/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProductionTask(query) {
// 查询生产任务详细
export function getProductionTask(taskId) {
return request({
url: '/klp/productionTask/' + taskId,
url: '/xgy/productionTask/' + taskId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getProductionTask(taskId) {
// 新增生产任务
export function addProductionTask(data) {
return request({
url: '/klp/productionTask',
url: '/xgy/productionTask',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addProductionTask(data) {
// 修改生产任务
export function updateProductionTask(data) {
return request({
url: '/klp/productionTask',
url: '/xgy/productionTask',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateProductionTask(data) {
// 删除生产任务
export function delProductionTask(taskId) {
return request({
url: '/klp/productionTask/' + taskId,
url: '/xgy/productionTask/' + taskId,
method: 'delete'
})
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

@@ -1,6 +1,6 @@
/**
* 通用css样式布局处理
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
/** 基础通用 **/

View File

@@ -45,7 +45,8 @@ export default {
this.loading = true;
if (this.warehouseType === 'real') {
treeActualWarehouseTwoLevel().then(response => {
const data = response.data;
let data = response.data;
data = this.filterZincWarehouse(data);
if (this.showEmpty) {
data.unshift({
actualWarehouseId: '-1',
@@ -67,6 +68,22 @@ export default {
});
}
},
filterZincWarehouse(data) {
const zincKeywords = ['镀锌'];
const filterNode = (node) => {
if (!node) return false;
const name = node.actualWarehouseName || node.warehouseName || '';
const containsZinc = zincKeywords.some(keyword => name.includes(keyword));
if (containsZinc) {
return false;
}
if (node.children && node.children.length > 0) {
node.children = node.children.filter(filterNode);
}
return true;
};
return data.filter(filterNode);
},
handleTree(data, id, parentId) {
const cloneData = JSON.parse(JSON.stringify(data));
return cloneData.filter(father => {

View File

@@ -1,6 +1,6 @@
/**
* v-dialogDrag 弹窗拖拽
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
export default {

View File

@@ -1,6 +1,6 @@
/**
* v-dialogDragWidth 可拖动弹窗高度(右下角)
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
export default {

View File

@@ -1,6 +1,6 @@
/**
* v-dialogDragWidth 可拖动弹窗宽度(右侧边)
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
export default {

View File

@@ -1,6 +1,6 @@
/**
* v-clipboard 文字复制剪贴
* Copyright (c) 2021 klp
* Copyright (c) 2021 鑫广宇
*/
import Clipboard from 'clipboard'

View File

@@ -1,6 +1,6 @@
/**
* v-hasPermi 操作权限处理
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
import store from '@/store'

View File

@@ -1,6 +1,6 @@
/**
* v-hasRole 角色权限处理
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
import store from '@/store'

View File

@@ -35,7 +35,7 @@ export default {
},
data() {
return {
title: '科伦普一体化平台',
title: '鑫广宇一体化平台',
logo: logoImg
}
}

View File

@@ -58,4 +58,4 @@ router.beforeEach((to, from, next) => {
router.afterEach(() => {
NProgress.done()
})
})

View File

@@ -2,7 +2,7 @@ import QRCode from 'qrcode';
/**
* 通用js方法封装处理
* Copyright (c) 2019 klp
* Copyright (c) 2019 鑫广宇
*/
// 日期格式化

View File

@@ -3,7 +3,7 @@
<img :src="avatar" class="user-avatar" alt="头像" />
<div class="greeting-text">
<div class="greeting-title">{{ greeting }}{{ name }}</div>
<div class="greeting-desc">欢迎使用科伦普冷轧涂渡数智一体化平台</div>
<div class="greeting-desc">欢迎使用鑫广宇冷轧涂渡数智一体化平台</div>
</div>
</div>
</template>

View File

@@ -335,7 +335,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/receivable/export', {
this.download('xgy/receivable/export', {
...this.queryParams
}, `receivable_${new Date().getTime()}.xlsx`)
},

View File

@@ -281,7 +281,7 @@ export default {
// 3. 合并单元格并设置内容
// 公司信息
worksheet.mergeCells('A1:H1');
worksheet.getCell('A1').value = '嘉祥科伦普重工有限公司';
worksheet.getCell('A1').value = '嘉祥鑫广宇重工有限公司';
worksheet.getCell('A1').font = { size: 16, bold: true };
worksheet.getCell('A1').alignment = { horizontal: 'center', vertical: 'middle' };
@@ -297,7 +297,7 @@ export default {
worksheet.getCell('G2').alignment = { horizontal: 'right', vertical: 'middle' };
// 供方信息
worksheet.getCell('A3').value = `供方(甲方):${row.supplier || '嘉祥科伦普重工有限公司'}`;
worksheet.getCell('A3').value = `供方(甲方):${row.supplier || '嘉祥鑫广宇重工有限公司'}`;
worksheet.getCell('A3').alignment = { horizontal: 'left', vertical: 'middle' };
// 签订时间
@@ -329,7 +329,7 @@ export default {
worksheet.mergeCells('D6:H6');
worksheet.getCell('D6').value = `生产厂家:${row.manufacturer || '嘉祥科伦普重工有限公司'}`;
worksheet.getCell('D6').value = `生产厂家:${row.manufacturer || '嘉祥鑫广宇重工有限公司'}`;
worksheet.getCell('D6').alignment = { horizontal: 'left', vertical: 'middle' };
worksheet.getCell('D6').border = {
top: { style: 'thin' },
@@ -709,7 +709,7 @@ export default {
// 供方(甲方)信息
worksheet.mergeCells(`A${currentRow}:D${currentRow}`);
worksheet.getCell(`A${currentRow}`).value = `供方(甲方):${row.supplier || '嘉祥科伦普重工有限公司'}`;
worksheet.getCell(`A${currentRow}`).value = `供方(甲方):${row.supplier || '嘉祥鑫广宇重工有限公司'}`;
worksheet.getCell(`A${currentRow}`).alignment = { horizontal: 'left', vertical: 'middle' };
worksheet.mergeCells(`E${currentRow}:H${currentRow}`);

View File

@@ -2,13 +2,13 @@
<div v-loading="loading">
<!-- 网格布局实现的表格共8列 -->
<div class="product-content">
<!-- 第一行合并所有八个单元格内容为嘉祥科伦普重工有限公司 -->
<!-- 第一行合并所有八个单元格内容为嘉祥鑫广宇重工有限公司 -->
<div class="table-row table-header">
<div class="table-cell" colspan="3">
<div class="company-name">产品名称{{ productName }}</div>
</div>
<div class="table-cell" colspan="5">
<div class="company-name">生产厂家嘉祥科伦普重工有限公司</div>
<div class="company-name">生产厂家嘉祥鑫广宇重工有限公司</div>
</div>
</div>

View File

@@ -2,13 +2,13 @@
<div v-loading="loading">
<!-- 网格布局实现的表格共8列 -->
<div class="product-content">
<!-- 第一行合并所有八个单元格内容为嘉祥科伦普重工有限公司 -->
<!-- 第一行合并所有八个单元格内容为嘉祥鑫广宇重工有限公司 -->
<div class="table-row table-header">
<div class="table-cell" colspan="3">
<div class="company-name">产品名称<el-input style="width: 50%" v-model="productName" placeholder="请输入产品名称" size="small" :readonly="readonly"/></div>
</div>
<div class="table-cell" colspan="5">
<div class="company-name">生产厂家嘉祥科伦普重工有限公司</div>
<div class="company-name">生产厂家嘉祥鑫广宇重工有限公司</div>
</div>
</div>

View File

@@ -372,7 +372,7 @@ export default {
contractId: undefined,
contractName: '产品销售合同',
contractCode: undefined,
supplier: '嘉祥科伦普重工有限公司',
supplier: '嘉祥鑫广宇重工有限公司',
customer: undefined,
signTime: undefined,
deliveryDate: undefined,

View File

@@ -357,7 +357,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/payable/export', {
this.download('xgy/payable/export', {
...this.queryParams
}, `payable_${new Date().getTime()}.xlsx`)
},

View File

@@ -357,7 +357,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/receivable/export', {
this.download('xgy/receivable/export', {
...this.queryParams
}, `receivable_${new Date().getTime()}.xlsx`)
},

View File

@@ -364,7 +364,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/journalEntry/export', {
this.download('xgy/journalEntry/export', {
...this.queryParams
}, `journalEntry_${new Date().getTime()}.xlsx`)
}

View File

@@ -248,7 +248,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/financialDocument/export', {
this.download('xgy/financialDocument/export', {
...this.queryParams
}, `financialDocument_${new Date().getTime()}.xlsx`)
},

View File

@@ -285,7 +285,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/journal/export', {
this.download('xgy/journal/export', {
...this.queryParams
}, `journal_${new Date().getTime()}.xlsx`)
}

View File

@@ -1,6 +1,6 @@
<template>
<div class="dashboard-editor-container">
<img src="http://kelunpuzhonggong.com/upload/img/20250427091033.jpg" alt="">
<img src="http://xgyzhonggong.com/upload/img/20250427091033.jpg" alt="">
<div class="aboutus">
<el-row :gutter="30">
@@ -12,10 +12,10 @@
</div>
<div class="aboutus-left">
<p class="aboutus-desc">
嘉祥科伦普重工有限公司是山东省重点工程项目是济宁市工程之一也是科伦普产品结构调整重要的工程项目工程采用了外方技术总负责关键设备整体引进点采集成国内技术总成自主创新单体设备引进等多种建设方案保证了技术先进和人才的培养确保工程投产后达产达效
嘉祥鑫广宇有限公司成立于2019 03 12 注册地山东省济宁市嘉祥县经济开发区为有限责任公司主营钢材金属材料钢结构金属制品加工销售和你研究的琛德实业同属嘉祥县钢铁加工产业链配套企业服务鲁西南基建机械制造钢结构工程领域是嘉祥县本地重点规上工业配套企业
</p>
<p class="aboutus-desc">
科伦普冷轧重工有限公司是设计年产量150万吨能向广大用户提供热轧酸洗热轧镀锌冷硬罩式退火冷轧镀锌铝锌合金锌铝合金锌铝镁镀铬等各大类产品产品覆盖东北华北华东华南等地区
一般项目金属材料销售高性能有色金属及合金材料销售钢压延加工金属结构制造金属结构销售机械零件零部件加工机械零件零部件销售生产性废旧金属回收普通货物仓储服务装卸搬运技术服务技术开发技术咨询技术交流
</p>
</div>
@@ -24,13 +24,13 @@
<!-- 右栏 -->
<el-col :span="12" :xs="24">
<img src="http://kelunpuzhonggong.com/upload/img/20251015103934.jpg" alt="">
<img src="http://xgyzhonggong.com/upload/img/20251015103934.jpg" alt="">
<!-- <div class="aboutus-right">
<p class="aboutus-detail">
嘉祥科伦普重工有限公司成立于2017年8月注册资金33100万元主要经营高铁设备配件制造与销售模具制造与销售新材料技术研发高性能有色金属及合金材料销售机械零件零部件加工与销售金属材料制造与销售锌铝镁新材料等目前公司拥有10余项具有自主知识产权的发明专利技术综合技术水平达国内领先2024年公司主导产品国内市场占有率约占85%2024年总资产5.98亿元净资产4.49亿元收入3.95亿元公司现有员工238人研究与试验发展人员57人其中专职研究与试验发展人员52人外聘专家5人
嘉祥鑫广宇有限公司成立于 2019 3 12 坐落于山东省济宁市嘉祥县经济开发区为自然人控股的规模以上工业企业厂区占地约 38 配套钢结构加工车间钢材仓储区等生产设施公司主要从事金属材料高性能合金材料钢结构件及机械零部件的加工与销售同时开展生产性废旧金属回收普通货物仓储货物进出口等业务是嘉祥县本地钢铁加工产业链重要配套企业
</p>
<p class="aboutus-detail">
2024年公司新建科伦普合金新材料研发项目占地290亩采用国内先进的镀层核心技术和热处理工艺专业生产锌铝镁板材和镀铬板材致力于打造国内工艺链条最完善产品型号最丰富的涂镀新材料生产企业全部投产后可实现新增销售收入80亿元利税4.7亿元带动就业约500人项目主要生产的冷轧板锌铝镁涂层板镀铬涂层板镀锡涂层板等产品涵盖0.08MM-6.0MM区间60多种产品是国内单个企业产品种类最多的项目产品因其防锈耐氧化耐腐蚀高电导高稳定的优秀特性广泛应用于建筑结构件汽车制造轻工家电食品包装医疗器械电子通讯航空航天领域
公司聚焦钢材加工及金属构件领域技术研发与产能升级先后实施钢材及金属结构件加工技改高性能合金材料扩产等县级工业项目累计拥有钢结构加工零部件配套相关实用新型专利 8 企业合规经营水平良好获评 20232024 年度纳税信用 A 级纳税人安全生产标准化三级企业纳入嘉祥县工业企业 亩产效益 综合评价体系为区域机械制造基建工程领域提供稳定的金属配套服务
</p>
</div> -->
</el-col>

View File

@@ -116,7 +116,7 @@ export default {
// 初始化可编辑数据
this.editableData = {
companyName: '嘉祥科伦普重工有限公司',
companyName: '嘉祥鑫广宇重工有限公司',
exitMatId: exitMatId || '',
entryMatId: entryMatId || '',
spec: spec || '',

View File

@@ -116,7 +116,7 @@ export default {
// 初始化可编辑数据
this.editableData = {
companyName: '嘉祥科伦普重工有限公司',
companyName: '嘉祥鑫广宇重工有限公司',
exitMatId: exitMatId || '',
entryMatId: entryMatId || '',
spec: spec || '',

View File

@@ -4,14 +4,13 @@
<div class="login-left">
<div class="login-title-welcome">
<img src="../assets/logo/logo.png" alt="logo" class="logo-img" />
<span class="login-title">欢迎使用科伦普冷轧涂镀数智一体化平台</span>
<span class="login-title">欢迎使用鑫广宇冷轧涂镀数智一体化平台</span>
</div>
<p>
嘉祥科伦普重工有限公司是山东省重点工程项目是济宁市工程之一也是科伦普产品结构调整重要的工程项目工程采用了外方技术总负责关键设备整体引进点采集成国内技术总成自主创新单体设备引进等多种建设方
保证了技术先进和人才的培养确保工程投产后达产达效
嘉祥鑫广宇重工有限公司成立于2017年08月08日,注册地位于山东省济宁市嘉祥县仲山镇经济开发区生物产业园新民路7号,法定代表人为陈国坤经营范围包括齿轮箱船用螺旋桨叶片起重机专用配套件的制造与销售模具合金机械辊制造销售
</p>
<p>
科伦普冷轧重工有限公司是设计年产量150万 能向广大用户提供热轧酸洗热轧镀锌冷硬罩式退火冷轧镀锌铝锌合金锌铝合金锌铝镁镀铬等各大类产品产品覆盖东北华北华东华南等地区
金属材料钢材合金材料轧辊制品金属结构件制造与销售机械零部件加工销售生产性废旧金属回收普通货物仓储服务装卸搬运技术服务技术开发技术咨询技术交流机械设备销售维修
</p>
</div>

View File

@@ -278,7 +278,7 @@ export default {
this.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath);
});
} else {
this.$download.zip("/tool/gen/batchGenCode?tables=" + tableNames, "klp.zip");
this.$download.zip("/tool/gen/batchGenCode?tables=" + tableNames, "xgy.zip");
}
},
/** 同步数据库操作 */

View File

@@ -6,11 +6,11 @@
<div style="display: flex; align-items: center;">
<img :src="logo" alt="Company Logo" class="company-logo" />
<div class="company-name">
科伦普<br />
鑫广宇<br />
<span class="english-name">KE LUN PU</span>
</div>
</div>
<div class="title">嘉祥科伦普重工有限公司</div>
<div class="title">嘉祥鑫广宇重工有限公司</div>
<img src="@/assets/images/pashi.png" alt="怕湿" class="company-logo" />
</div>

View File

@@ -1,6 +1,6 @@
<template>
<div class="label-container">
<div class="company-name">嘉祥科伦普重工有限公司</div>
<div class="company-name">嘉祥鑫广宇重工有限公司</div>
<div class="label-title">力学性能标签</div>
<table class="info-table">
<tr>

View File

@@ -6,11 +6,11 @@
<div style="display: flex; align-items: center;">
<img :src="logo" alt="Company Logo" class="company-logo" />
<div class="company-name">
科伦普<br />
鑫广宇<br />
<span class="english-name">KE LUN PU</span>
</div>
</div>
<div class="title">嘉祥科伦普重工有限公司</div>
<div class="title">嘉祥鑫广宇重工有限公司</div>
<img src="@/assets/images/pashi.png" alt="怕湿" class="company-logo" />
</div>

View File

@@ -6,11 +6,11 @@
<div style="display: flex; align-items: center;">
<img :src="logo" alt="Company Logo" class="company-logo" />
<div class="company-name">
科伦普<br />
鑫广宇<br />
<span class="english-name">KE LUN PU</span>
</div>
</div>
<div class="title">嘉祥科伦普重工有限公司</div>
<div class="title">嘉祥鑫广宇重工有限公司</div>
<img src="@/assets/images/pashi.png" alt="怕湿" class="company-logo" />
</div>

View File

@@ -1,6 +1,6 @@
<template>
<div class="label-container">
<div class="company-name">嘉祥科伦普重工有限公司</div>
<div class="company-name">嘉祥鑫广宇重工有限公司</div>
<div class="label-title">盐雾试验标签</div>
<table class="info-table">
<tr>

View File

@@ -1,6 +1,6 @@
<template>
<div class="sample-label-container">
<div class="company-title">嘉祥科伦普重工有限公司</div>
<div class="company-title">嘉祥鑫广宇重工有限公司</div>
<div class="label-title">样品标签</div>
<table class="info-table">
<tr>

View File

@@ -2,7 +2,7 @@
<div class="label-container" :style="{ '--print-scale': printScale }">
<div class="material-label-grid">
<!-- 公司名称行 -->
<div class="grid-cell company-cell">嘉祥科伦普重工有限公司</div>
<div class="grid-cell company-cell">嘉祥鑫广宇重工有限公司</div>
<!-- 第一行冷卷号热卷号 -->
<div class="grid-cell label-cell">钢卷号</div>

View File

@@ -2,7 +2,7 @@
<div class="label-container" :style="{ '--print-scale': printScale }">
<div class="material-label-grid">
<!-- 公司名称行 -->
<div class="grid-cell company-cell">嘉祥科伦普重工有限公司</div>
<div class="grid-cell company-cell">嘉祥鑫广宇重工有限公司</div>
<!-- 第一行冷卷号热卷号 -->
<div class="grid-cell label-cell">冷卷号</div>

View File

@@ -2,7 +2,7 @@
<div class="label-container" :style="{ '--print-scale': printScale }">
<div class="material-label-grid">
<!-- 公司名称行 -->
<div class="grid-cell company-cell">嘉祥科伦普重工有限公司</div>
<div class="grid-cell company-cell">嘉祥鑫广宇重工有限公司</div>
<!-- 第一行冷卷号热卷号 -->
<div class="grid-cell label-cell">冷卷号</div>

View File

@@ -5,7 +5,7 @@
<div class="waybill-content">
<!-- 头部信息 -->
<!-- 标题信息 -->
<div class="title">科伦普发货单</div>
<div class="title">鑫广宇发货单</div>
<div class="waybill-header">
<div class="header-left">
<span class="label">收货单位</span>
@@ -491,7 +491,7 @@ export default {
try {
// ===== 1. 构建真实数据(替换占位符,使用实际明细)=====
const headerData = [
['科伦普发货单'], // 标题行r=0
['鑫广宇发货单'], // 标题行r=0
[
`收货单位:${this.localWaybill.consigneeUnit || ''}`,
undefined, undefined, undefined,
@@ -705,7 +705,7 @@ export default {
// ===== 5. 生成Excel并下载 =====
const wb = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(wb, ws, "科伦普发货单"); // 工作表名称更贴合业务
XLSX.utils.book_append_sheet(wb, ws, "鑫广宇发货单"); // 工作表名称更贴合业务
// 生成Excel文件启用样式配置
const excelBuffer = XLSX.write(wb, {
@@ -721,7 +721,7 @@ export default {
const url = URL.createObjectURL(blob);
const link = document.createElement("a");
link.href = url;
link.download = `科伦普发货单_${this.waybill.waybillNo || Date.now()}.xlsx`; // 文件名更规范
link.download = `鑫广宇发货单_${this.waybill.waybillNo || Date.now()}.xlsx`; // 文件名更规范
document.body.appendChild(link);
link.click();
@@ -740,11 +740,11 @@ export default {
try {
// 1. 创建工作簿和工作表
const workbook = new ExcelJS.Workbook();
const worksheet = workbook.addWorksheet('科伦普发货单');
const worksheet = workbook.addWorksheet('鑫广宇发货单');
worksheet.properties.defaultRowHeight = 25; // 设置默认行高匹配Web端行高
// 2. 构建数据(复用原有业务数据)
const title = `科伦普发货单`; // 标题
const title = `鑫广宇发货单`; // 标题
const header1 = { // 收货单位+日期+发货单位
consignee: `收货单位:${this.localWaybill.consigneeUnit || ''}`,
date: `${this.localWaybill.deliveryYear || ''}${this.localWaybill.deliveryMonth || ''}${this.localWaybill.deliveryDay || ''}`,
@@ -928,7 +928,7 @@ export default {
const url = URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.download = `科伦普发货单_${this.waybill.waybillNo || Date.now()}.xlsx`;
link.download = `鑫广宇发货单_${this.waybill.waybillNo || Date.now()}.xlsx`;
document.body.appendChild(link);
link.click();
// 清理资源

View File

@@ -5,7 +5,7 @@
<div class="waybill-content">
<!-- 头部信息 -->
<!-- 标题信息 -->
<div class="title">科伦普发货单</div>
<div class="title">鑫广宇发货单</div>
<div class="waybill-header">
<div class="header-left">
<span class="label">收货单位</span>
@@ -491,7 +491,7 @@ export default {
try {
// ===== 1. 构建真实数据确保列数为11列0-10=====
const headerData = [
['科伦普发货单'], // 标题行r=0
['鑫广宇发货单'], // 标题行r=0
[
`收货单位:${this.localWaybill.consigneeUnit || ''}`,
undefined, undefined, undefined,
@@ -698,7 +698,7 @@ export default {
// ===== 5. 生成Excel并下载无修改=====
const wb = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(wb, ws, "科伦普发货单");
XLSX.utils.book_append_sheet(wb, ws, "鑫广宇发货单");
const excelBuffer = XLSX.write(wb, {
bookType: "xlsx",
@@ -713,7 +713,7 @@ export default {
const url = URL.createObjectURL(blob);
const link = document.createElement("a");
link.href = url;
link.download = `科伦普发货单_${this.waybill.waybillNo || Date.now()}.xlsx`;
link.download = `鑫广宇发货单_${this.waybill.waybillNo || Date.now()}.xlsx`;
document.body.appendChild(link);
link.click();
@@ -731,11 +731,11 @@ export default {
try {
// 1. 创建工作簿和工作表
const workbook = new ExcelJS.Workbook();
const worksheet = workbook.addWorksheet('科伦普发货单');
const worksheet = workbook.addWorksheet('鑫广宇发货单');
worksheet.properties.defaultRowHeight = 25; // 设置默认行高匹配Web端行高
// 2. 构建数据(复用原有业务数据)
const title = `科伦普发货单`; // 标题
const title = `鑫广宇发货单`; // 标题
const header1 = { // 收货单位+日期+发货单位
consignee: `收货单位:${this.localWaybill.consigneeUnit || ''}`,
date: `${this.localWaybill.deliveryYear || ''}${this.localWaybill.deliveryMonth || ''}${this.localWaybill.deliveryDay || ''}`,
@@ -919,7 +919,7 @@ export default {
const url = URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.download = `科伦普发货单_${this.waybill.waybillNo || Date.now()}.xlsx`;
link.download = `鑫广宇发货单_${this.waybill.waybillNo || Date.now()}.xlsx`;
document.body.appendChild(link);
link.click();
// 清理资源

View File

@@ -451,7 +451,7 @@ export default {
planId: undefined,
licensePlate: undefined,
consigneeUnit: undefined,
senderUnit: '科伦普',
senderUnit: '鑫广宇',
deliveryTime: undefined,
weighbridge: undefined,
salesPerson: undefined,

View File

@@ -278,7 +278,7 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('klp/productSpec/export', {
this.download('xgy/productSpec/export', {
...this.queryParams
}, `productSpec_${new Date().getTime()}.xlsx`)
}

View File

@@ -295,7 +295,7 @@ export default {
planId: undefined,
licensePlate: undefined,
consigneeUnit: undefined,
senderUnit: '科伦普',
senderUnit: '鑫广宇',
deliveryTime: undefined,
weighbridge: undefined,
salesPerson: undefined,

View File

@@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '科伦普综合办公系统' // 网页标题
const name = process.env.VUE_APP_TITLE || '鑫广宇综合办公系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口
@@ -17,7 +17,7 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口
module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.klp.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.klp.vip/admin/,则设置 baseUrl 为 /admin/。
// 例如 https://www.xgy.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.xgy.vip/admin/,则设置 baseUrl 为 /admin/。
publicPath: process.env.VUE_APP_CONTEXT_PATH,
// 在npm run build 或 yarn build 时 生成文件的目录名称要和baseUrl的生产环境路径一致默认dist
outputDir: 'dist',
@@ -86,7 +86,7 @@ module.exports = {
}
},
plugins: [
// http://doc.klp.vip/klp-vue/other/faq.html#使用gzip解压缩静态文件
// http://doc.xgy.vip/xgy-vue/other/faq.html#使用gzip解压缩静态文件
new CompressionPlugin({
cache: false, // 不启用文件缓存
test: /\.(js|css|html)?$/i, // 压缩文件格式