diff --git a/nc_wms_web/src/api/business/task/task-api.ts b/nc_wms_web/src/api/business/task/task-api.ts new file mode 100644 index 0000000..aa9a6a3 --- /dev/null +++ b/nc_wms_web/src/api/business/task/task-api.ts @@ -0,0 +1,48 @@ +/** + * Task任务 api 封装 + * + * @Author: 霍锦 + * @Date: 2024-12-03 17:08:30 + * @Copyright 友仓 + */ +import {postRequest,getRequest} from '/@/lib/axios'; + +export const taskApi = { + + /** + * 分页查询 @author 霍锦 + */ + queryPage: (param: object) => { + return postRequest('/task/queryPage', param); + }, + + /** + * 增加 @author 霍锦 + */ + add: (param: object) => { + return postRequest('/task/add', param); + }, + + /** + * 修改 @author 霍锦 + */ + update: (param: object) => { + return postRequest('/task/update', param); + }, + + + /** + * 删除 @author 霍锦 + */ + delete: (id: number) => { + return getRequest('/task/delete', id); + }, + + /** + * 批量删除 @author 霍锦 + */ + batchDelete: (idList: number[]) => { + return postRequest('/task/batchDelete', idList); + }, + +}; diff --git a/nc_wms_web/src/api/business/task/task-const.ts b/nc_wms_web/src/api/business/task/task-const.ts new file mode 100644 index 0000000..e4b6c51 --- /dev/null +++ b/nc_wms_web/src/api/business/task/task-const.ts @@ -0,0 +1,11 @@ +/** + * Task任务 枚举 + * + * @Author: 霍锦 + * @Date: 2024-12-03 17:08:30 + * @Copyright 友仓 + */ + + +export default { +}; \ No newline at end of file diff --git a/nc_wms_web/src/config/app-config.ts b/nc_wms_web/src/config/app-config.ts index 5a237ae..691a924 100644 --- a/nc_wms_web/src/config/app-config.ts +++ b/nc_wms_web/src/config/app-config.ts @@ -27,7 +27,7 @@ export const appDefaultConfig: AppConfig = { // 菜单主题 sideMenuTheme: 'dark', // 主题颜色索引 - colorIndex: 0, + colorIndex: 1, // 顶部菜单页面宽度 pageWidth: '99%', // 圆角 @@ -41,11 +41,11 @@ export const appDefaultConfig: AppConfig = { // 页脚 footerFlag: true, // 帮助文档 - helpDocFlag: true, + helpDocFlag: false, // 帮助文档默认展开 helpDocExpandFlag: true, // 水印 - watermarkFlag: true, + watermarkFlag: false, // 网站名称 websiteName: 'SmartAdmin 3.X', // 主题颜色 diff --git a/nc_wms_web/src/constants/support/table-id-const.ts b/nc_wms_web/src/constants/support/table-id-const.ts index 589915d..0e41be3 100644 --- a/nc_wms_web/src/constants/support/table-id-const.ts +++ b/nc_wms_web/src/constants/support/table-id-const.ts @@ -47,6 +47,7 @@ export const TABLE_ID_CONST = { RECEIVE:{ ASN:businessRECEIVEInitTableId+1,//入库单 ASN_DETAIL:businessRECEIVEInitTableId+2,//入库明细 + ASN_TASK:businessRECEIVEInitTableId+3,//入库详情 } }, diff --git a/nc_wms_web/src/views/business/receive/asn/asn-form.vue b/nc_wms_web/src/views/business/receive/asn/asn-form.vue index df4142c..8b3e1c1 100644 --- a/nc_wms_web/src/views/business/receive/asn/asn-form.vue +++ b/nc_wms_web/src/views/business/receive/asn/asn-form.vue @@ -87,6 +87,7 @@ + @@ -110,6 +111,7 @@ import {SmartLoading} from "/@/components/framework/smart-loading"; import {asnApi} from "/@/api/business/receive/asn/asn-api"; import {smartSentry} from "/@/lib/smart-sentry"; import ReceiveDetailList from "/@/views/business/receive/asn/receive-detail-list.vue"; +import AsnTaskList from "/@/views/business/receive/asnTask/asn-task-list.vue"; // 表单 const formRef = ref(); diff --git a/nc_wms_web/src/views/business/receive/asnDetail/asn-detail-list.vue b/nc_wms_web/src/views/business/receive/asnDetail/asn-detail-list.vue index a3f020a..4993bae 100644 --- a/nc_wms_web/src/views/business/receive/asnDetail/asn-detail-list.vue +++ b/nc_wms_web/src/views/business/receive/asnDetail/asn-detail-list.vue @@ -6,277 +6,281 @@ * @Copyright 友仓 --> diff --git a/nc_wms_web/src/views/business/receive/asnTask/asn-task-list.vue b/nc_wms_web/src/views/business/receive/asnTask/asn-task-list.vue new file mode 100644 index 0000000..356928d --- /dev/null +++ b/nc_wms_web/src/views/business/receive/asnTask/asn-task-list.vue @@ -0,0 +1,333 @@ + + + + +