diff --git a/gear-ui3/src/App.vue b/gear-ui3/src/App.vue
index c0c8864..4aa6b2c 100644
--- a/gear-ui3/src/App.vue
+++ b/gear-ui3/src/App.vue
@@ -5,11 +5,13 @@
diff --git a/gear-ui3/src/api/oa/otherIncome.js b/gear-ui3/src/api/oa/otherIncome.js
new file mode 100644
index 0000000..1aee64e
--- /dev/null
+++ b/gear-ui3/src/api/oa/otherIncome.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询其他收入列表
+export function listOtherIncome(query) {
+ return request({
+ url: '/oa/otherIncome/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询其他收入详细
+export function getOtherIncome(otherIncomeId) {
+ return request({
+ url: '/oa/otherIncome/' + otherIncomeId,
+ method: 'get'
+ })
+}
+
+// 新增其他收入
+export function addOtherIncome(data) {
+ return request({
+ url: '/oa/otherIncome',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改其他收入
+export function updateOtherIncome(data) {
+ return request({
+ url: '/oa/otherIncome',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除其他收入
+export function delOtherIncome(otherIncomeId) {
+ return request({
+ url: '/oa/otherIncome/' + otherIncomeId,
+ method: 'delete'
+ })
+}
diff --git a/gear-ui3/src/api/oa/returnExchange.js b/gear-ui3/src/api/oa/returnExchange.js
new file mode 100644
index 0000000..0b86617
--- /dev/null
+++ b/gear-ui3/src/api/oa/returnExchange.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询退换货管理列表
+export function listReturnExchange(query) {
+ return request({
+ url: '/oa/returnExchange/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询退换货管理详细
+export function getReturnExchange(returnExchangeId) {
+ return request({
+ url: '/oa/returnExchange/' + returnExchangeId,
+ method: 'get'
+ })
+}
+
+// 新增退换货管理
+export function addReturnExchange(data) {
+ return request({
+ url: '/oa/returnExchange',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改退换货管理
+export function updateReturnExchange(data) {
+ return request({
+ url: '/oa/returnExchange',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除退换货管理
+export function delReturnExchange(returnExchangeId) {
+ return request({
+ url: '/oa/returnExchange/' + returnExchangeId,
+ method: 'delete'
+ })
+}
diff --git a/gear-ui3/src/api/system/oss.js b/gear-ui3/src/api/system/oss.js
new file mode 100644
index 0000000..7d80026
--- /dev/null
+++ b/gear-ui3/src/api/system/oss.js
@@ -0,0 +1,27 @@
+import request from '@/utils/request'
+
+// 查询OSS对象存储列表
+export function listOss(query) {
+ return request({
+ url: '/system/oss/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询OSS对象基于id串
+export function listByIds(ossId) {
+ return request({
+ url: '/system/oss/listByIds/' + ossId,
+ method: 'get'
+ })
+}
+
+// 删除OSS对象存储
+export function delOss(ossId) {
+ return request({
+ url: '/system/oss/' + ossId,
+ method: 'delete'
+ })
+}
+
diff --git a/gear-ui3/src/api/wms/customer.js b/gear-ui3/src/api/wms/customer.js
new file mode 100644
index 0000000..7704bb7
--- /dev/null
+++ b/gear-ui3/src/api/wms/customer.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询CRM 客户列表
+export function listCustomer(query) {
+ return request({
+ url: '/oa/customer/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询CRM 客户详细
+export function getCustomer(customerId) {
+ return request({
+ url: '/oa/customer/' + customerId,
+ method: 'get'
+ })
+}
+
+// 新增CRM 客户
+export function addCustomer(data) {
+ return request({
+ url: '/oa/customer',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改CRM 客户
+export function updateCustomer(data) {
+ return request({
+ url: '/oa/customer',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除CRM 客户
+export function delCustomer(customerId) {
+ return request({
+ url: '/oa/customer/' + customerId,
+ method: 'delete'
+ })
+}
diff --git a/gear-ui3/src/assets/images/avatar.png b/gear-ui3/src/assets/images/avatar.png
new file mode 100644
index 0000000..305ebdf
Binary files /dev/null and b/gear-ui3/src/assets/images/avatar.png differ
diff --git a/gear-ui3/src/assets/logo/logo.png b/gear-ui3/src/assets/logo/logo.png
index e263760..3300251 100644
Binary files a/gear-ui3/src/assets/logo/logo.png and b/gear-ui3/src/assets/logo/logo.png differ
diff --git a/gear-ui3/src/components/CustomerSelect/index.vue b/gear-ui3/src/components/CustomerSelect/index.vue
index 0609f0d..ed1dafc 100644
--- a/gear-ui3/src/components/CustomerSelect/index.vue
+++ b/gear-ui3/src/components/CustomerSelect/index.vue
@@ -1,11 +1,11 @@
-
+
+
diff --git a/gear-ui3/src/components/GearTable/index.vue b/gear-ui3/src/components/GearTable/index.vue
index 1e8ff8d..8b44e57 100644
--- a/gear-ui3/src/components/GearTable/index.vue
+++ b/gear-ui3/src/components/GearTable/index.vue
@@ -6,30 +6,6 @@
{{ loadingText || "加载中..." }}
-
-
-
-
-
-
-
-
-
-
-
-
-
import ColumnRender from './ColumnRender.vue';
import Eclipse from './renderer/eclipse.vue';
-import TableActionToolbar from './TableActionToolbar.vue';
export default {
name: "KLPTable",
components: {
ColumnRender,
Eclipse,
- TableActionToolbar
},
props: {
// 基础扩展属性
diff --git a/gear-ui3/src/components/ProductSelect/BomPanel/BomItem.vue b/gear-ui3/src/components/ProductSelect/BomPanel/BomItem.vue
index 82c18a4..d271397 100644
--- a/gear-ui3/src/components/ProductSelect/BomPanel/BomItem.vue
+++ b/gear-ui3/src/components/ProductSelect/BomPanel/BomItem.vue
@@ -5,8 +5,8 @@
新增
@@ -14,8 +14,8 @@
修改
@@ -24,8 +24,8 @@
删除
@@ -34,8 +34,8 @@
导出
@@ -48,17 +48,17 @@
-
+
修改
删除
@@ -74,7 +74,7 @@
/>
-
+
diff --git a/gear-ui3/src/components/ProductSelect/index.vue b/gear-ui3/src/components/ProductSelect/index.vue
index 9e1c82b..fba600c 100644
--- a/gear-ui3/src/components/ProductSelect/index.vue
+++ b/gear-ui3/src/components/ProductSelect/index.vue
@@ -1,13 +1,24 @@
-
+
- 未搜索到产品,点击添加
+ 未搜索到产品,点击添加
未搜索到产品
-
+
{{ item.productName }}
{{ item.productCode }}
@@ -15,15 +26,25 @@
-
+
-
-
-
+
@@ -37,7 +58,7 @@
-
+
@@ -47,132 +68,164 @@
-
+
+
+
-
+
-
diff --git a/gear-ui3/src/components/Renderer/BomInfoMini.vue b/gear-ui3/src/components/Renderer/BomInfoMini.vue
index e5ce824..021986e 100644
--- a/gear-ui3/src/components/Renderer/BomInfoMini.vue
+++ b/gear-ui3/src/components/Renderer/BomInfoMini.vue
@@ -6,14 +6,13 @@
-
+ 无
\ No newline at end of file
+
diff --git a/gear-ui3/src/components/VendorSelect/index.vue b/gear-ui3/src/components/VendorSelect/index.vue
new file mode 100644
index 0000000..493da22
--- /dev/null
+++ b/gear-ui3/src/components/VendorSelect/index.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gear-ui3/src/store/modules/product.js b/gear-ui3/src/store/modules/product.js
index e24c80d..4f3944c 100644
--- a/gear-ui3/src/store/modules/product.js
+++ b/gear-ui3/src/store/modules/product.js
@@ -27,11 +27,12 @@ const useProductStore = defineStore('product', {
}
},
fetchProductMap() {
- listProduct().then(res => {
+ listProduct({ pageNum: 1, pageSize: 10000 }).then(res => {
const map = {};
- res.data.forEach(item => {
+ res.rows.forEach(item => {
map[item.productId] = item;
});
+ console.log(map, res, 'productMap');
this.productMap = map;
})
},
diff --git a/gear-ui3/src/store/modules/user.js b/gear-ui3/src/store/modules/user.js
index 38fed17..768543a 100644
--- a/gear-ui3/src/store/modules/user.js
+++ b/gear-ui3/src/store/modules/user.js
@@ -3,7 +3,7 @@ import { ElMessageBox, } from 'element-plus'
import { login, logout, getInfo } from '@/api/login'
import { getToken, setToken, removeToken } from '@/utils/auth'
import { isHttp, isEmpty } from "@/utils/validate"
-import defAva from '@/assets/images/profile.jpg'
+import defAva from '@/assets/images/avatar.png'
const useUserStore = defineStore(
'user',
diff --git a/gear-ui3/src/views/info/construction/detail.vue b/gear-ui3/src/views/info/construction/detail.vue
index c245243..5893f02 100644
--- a/gear-ui3/src/views/info/construction/detail.vue
+++ b/gear-ui3/src/views/info/construction/detail.vue
@@ -44,8 +44,8 @@
/>
- 搜索
- 重置
+ 搜索
+ 重置
@@ -55,7 +55,7 @@
type="primary"
plain
icon="Plus"
- size="mini"
+ size="small"
@click="handleAdd"
>新增
@@ -64,7 +64,7 @@
type="success"
plain
icon="Edit"
- size="mini"
+ size="small"
:disabled="single"
@click="handleUpdate"
>修改
@@ -74,7 +74,7 @@
type="danger"
plain
icon="Delete"
- size="mini"
+ size="small"
:disabled="multiple"
@click="handleDelete"
>删除
@@ -84,7 +84,7 @@
type="warning"
plain
icon="Download"
- size="mini"
+ size="small"
@click="handleExport"
>导出
@@ -107,7 +107,7 @@
-
+
diff --git a/gear-ui3/src/views/info/express/question.vue b/gear-ui3/src/views/info/express/question.vue
index bfcede0..64b60c4 100644
--- a/gear-ui3/src/views/info/express/question.vue
+++ b/gear-ui3/src/views/info/express/question.vue
@@ -21,7 +21,7 @@
@@ -34,8 +34,8 @@
/>
- 搜索
- 重置
+ 搜索
+ 重置
@@ -45,7 +45,7 @@
type="primary"
plain
icon="Check"
- size="mini"
+ size="small"
@click="handleUpdateStatus"
>修复
-->
@@ -54,7 +54,7 @@
type="success"
plain
icon="Edit"
- size="mini"
+ size="small"
:disabled="single"
@click="handleUpdate"
>修改
@@ -64,7 +64,7 @@
type="danger"
plain
icon="Delete"
- size="mini"
+ size="small"
:disabled="multiple"
@click="handleDelete"
>删除
@@ -74,7 +74,7 @@
type="warning"
plain
icon="Download"
- size="mini"
+ size="small"
@click="handleExport"
>导出
@@ -102,13 +102,13 @@
问题解决
diff --git a/gear-ui3/src/views/info/report/components/ExportDialog.vue b/gear-ui3/src/views/info/report/components/ExportDialog.vue
index 9b27255..fa2a5c8 100644
--- a/gear-ui3/src/views/info/report/components/ExportDialog.vue
+++ b/gear-ui3/src/views/info/report/components/ExportDialog.vue
@@ -7,7 +7,7 @@
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
- value-format="yyyy-MM-dd"
+ value-format="YYYY-MM-DD"
style="width: 280px; margin-right: 16px;"
:picker-options="pickerOptions"
/>
diff --git a/gear-ui3/src/views/info/report/components/ProjectReportDetail.vue b/gear-ui3/src/views/info/report/components/ProjectReportDetail.vue
index 64eab7a..a901eaa 100644
--- a/gear-ui3/src/views/info/report/components/ProjectReportDetail.vue
+++ b/gear-ui3/src/views/info/report/components/ProjectReportDetail.vue
@@ -23,7 +23,7 @@
{{ data.deptName }}
{{ data.workPlace }}
-
+
{{ data.isTrip === 1 ? '是' : '否' }}
@@ -62,9 +62,9 @@
- 打印
- 下载 PDF
- 关 闭
+ 打印
+ 下载 PDF
+ 关 闭
diff --git a/gear-ui3/src/views/info/report/dashboard.vue b/gear-ui3/src/views/info/report/dashboard.vue
index fc7137f..01411e0 100644
--- a/gear-ui3/src/views/info/report/dashboard.vue
+++ b/gear-ui3/src/views/info/report/dashboard.vue
@@ -9,7 +9,7 @@
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
- value-format="yyyy-MM-dd"
+ value-format="YYYY-MM-DD"
/>
搜 索
@@ -101,7 +101,7 @@
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
- value-format="yyyy-MM-dd"
+ value-format="YYYY-MM-DD"
unlink-panels
@change="onSummaryDateChange"
/>
@@ -150,7 +150,7 @@
- 搜索
- 重置
+ 搜索
+ 重置
@@ -41,7 +41,7 @@
type="primary"
plain
icon="Plus"
- size="mini"
+ size="small"
@click="handleAdd"
v-hasPermi="['oa:projectReport:add']"
>新增
@@ -52,7 +52,7 @@
type="success"
plain
icon="Edit"
- size="mini"
+ size="small"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['oa:projectReport:edit']"
@@ -64,7 +64,7 @@
type="danger"
plain
icon="Delete"
- size="mini"
+ size="small"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['oa:projectReport:remove']"
@@ -76,7 +76,7 @@
type="warning"
plain
icon="Download"
- size="mini"
+ size="small"
@click="handleExport"
v-hasPermi="['oa:projectReport:export']"
>导出
@@ -112,14 +112,14 @@
详情
修改
diff --git a/gear-ui3/src/views/login.vue b/gear-ui3/src/views/login.vue
index 066dd0d..f02212a 100644
--- a/gear-ui3/src/views/login.vue
+++ b/gear-ui3/src/views/login.vue
@@ -69,6 +69,7 @@ import { getCodeImg } from "@/api/login"
import Cookies from "js-cookie"
import { encrypt, decrypt } from "@/utils/jsencrypt"
import useUserStore from '@/store/modules/user'
+import useProductStore from '@/store/modules/product'
const title = import.meta.env.VITE_APP_TITLE
const userStore = useUserStore()
@@ -127,6 +128,7 @@ function handleLogin() {
return acc
}, {})
router.push({ path: redirect.value || "/", query: otherQueryParams })
+ useProductStore().fetchProductMap()
}).catch(() => {
loading.value = false
// 重新获取验证码
diff --git a/gear-ui3/src/views/oms/customer/index.vue b/gear-ui3/src/views/oms/customer/index.vue
index 2ef10f9..11e9014 100644
--- a/gear-ui3/src/views/oms/customer/index.vue
+++ b/gear-ui3/src/views/oms/customer/index.vue
@@ -1,6 +1,6 @@
-
+
-
+
+
- 搜索
- 重置
+ 搜索
+ 重置
@@ -38,8 +39,8 @@
新增
@@ -47,8 +48,8 @@
修改
@@ -57,8 +58,8 @@
删除
@@ -67,17 +68,17 @@
导出
-
+
-
-
+
+
-
+
@@ -152,12 +153,13 @@
+
@@ -173,74 +175,76 @@
diff --git a/gear-ui3/src/views/oms/order/trade.vue b/gear-ui3/src/views/oms/order/trade.vue
index e4ede99..3b0f71c 100644
--- a/gear-ui3/src/views/oms/order/trade.vue
+++ b/gear-ui3/src/views/oms/order/trade.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/gear-ui3/src/views/oms/otherIncome/index.vue b/gear-ui3/src/views/oms/otherIncome/index.vue
new file mode 100644
index 0000000..0524fe6
--- /dev/null
+++ b/gear-ui3/src/views/oms/otherIncome/index.vue
@@ -0,0 +1,245 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+ {{ formatterTime(scope.row.incomeDate) }}
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gear-ui3/src/views/oms/pay/index.vue b/gear-ui3/src/views/oms/pay/index.vue
index 6b93670..e536f08 100644
--- a/gear-ui3/src/views/oms/pay/index.vue
+++ b/gear-ui3/src/views/oms/pay/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -16,13 +16,13 @@
- 搜索
- 重置
+ 搜索
+ 重置
@@ -31,8 +31,8 @@
新增
@@ -40,8 +40,8 @@
修改
@@ -50,8 +50,8 @@
删除
@@ -60,21 +60,21 @@
导出
-
+
-
+
{{ parseTime(scope.row.dueDate, '{y}-{m}-{d}') }}
过期
还剩{{ parseInt((new Date(scope.row.dueDate) - new Date()) / (1000 * 60 * 60 * 24)) }}天
@@ -86,28 +86,28 @@
-
+
修改
删除
付款
-
+
-
+
@@ -130,7 +130,7 @@
@@ -153,7 +153,7 @@
-
+
@@ -169,7 +169,7 @@
diff --git a/gear-ui3/src/views/product/category/index.vue b/gear-ui3/src/views/product/category/index.vue
index f6876f5..7ec7499 100644
--- a/gear-ui3/src/views/product/category/index.vue
+++ b/gear-ui3/src/views/product/category/index.vue
@@ -51,15 +51,15 @@
:default-expand-all="isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
>
-
+
-
+
修改
- 新增
+
删除
@@ -68,7 +68,7 @@
-
+
-
+
diff --git a/gear-ui3/src/views/product/components/BomItem.vue b/gear-ui3/src/views/product/components/BomItem.vue
index 82c18a4..d271397 100644
--- a/gear-ui3/src/views/product/components/BomItem.vue
+++ b/gear-ui3/src/views/product/components/BomItem.vue
@@ -5,8 +5,8 @@
新增
@@ -14,8 +14,8 @@
修改
@@ -24,8 +24,8 @@
删除
@@ -34,8 +34,8 @@
导出
@@ -48,17 +48,17 @@
-
+
修改
删除
@@ -74,7 +74,7 @@
/>
-
+
diff --git a/gear-ui3/src/views/product/info/index.vue b/gear-ui3/src/views/product/info/index.vue
index bae4e06..19e0b9d 100644
--- a/gear-ui3/src/views/product/info/index.vue
+++ b/gear-ui3/src/views/product/info/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -21,25 +21,25 @@
-->
- 搜索
- 重置
+ 搜索
+ 重置
- 新增
+ 新增
- 修改
- 删除
- 导出
+ 导出
@@ -49,18 +49,19 @@
+
-
+
-
- 修改
- 删除
-
+ 修改
+ 删除
+ 安装说明书
- BOM
+ BOM
@@ -77,8 +78,14 @@
+
+
+
-
+
+
+
+
@@ -93,11 +100,18 @@
+
+
+
+ 提交
+ 取消
+