diff --git a/src/api/invest/productInfor.js b/src/api/invest/productInfor.js
new file mode 100644
index 0000000..0595fdb
--- /dev/null
+++ b/src/api/invest/productInfor.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询商品基础信息列表
+export function listProductInfor(query) {
+ return request({
+ url: '/invest/productInfor/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询商品基础信息详细
+export function getProductInfor(id) {
+ return request({
+ url: '/invest/productInfor/' + id,
+ method: 'get'
+ })
+}
+
+// 新增商品基础信息
+export function addProductInfor(data) {
+ return request({
+ url: '/invest/productInfor',
+ method: 'post',
+ data
+ })
+}
+
+// 修改商品基础信息
+export function updateProductInfor(data) {
+ return request({
+ url: '/invest/productInfor',
+ method: 'put',
+ data
+ })
+}
+
+// 删除商品基础信息
+export function delProductInfor(id) {
+ return request({
+ url: '/invest/productInfor/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/invest/productPriceRecord.js b/src/api/invest/productPriceRecord.js
new file mode 100644
index 0000000..90a5e9a
--- /dev/null
+++ b/src/api/invest/productPriceRecord.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询物价记录列表
+export function listProductPriceRecord(query) {
+ return request({
+ url: '/invest/productPriceRecord/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询物价记录详细
+export function getProductPriceRecord(id) {
+ return request({
+ url: '/invest/productPriceRecord/' + id,
+ method: 'get'
+ })
+}
+
+// 新增物价记录
+export function addProductPriceRecord(data) {
+ return request({
+ url: '/invest/productPriceRecord',
+ method: 'post',
+ data
+ })
+}
+
+// 修改物价记录
+export function updateProductPriceRecord(data) {
+ return request({
+ url: '/invest/productPriceRecord',
+ method: 'put',
+ data
+ })
+}
+
+// 删除物价记录
+export function delProductPriceRecord(id) {
+ return request({
+ url: '/invest/productPriceRecord/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/pages.json b/src/pages.json
index efcd9bb..f88acf8 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -344,6 +344,38 @@
}
}
,
+ {
+ "path": "pages/work/product/productInfor/list",
+ "style": {
+ "navigationBarTitleText": "商品信息"
+ }
+ } ,
+ {
+ "path": "pages/work/product/productInfor/details",
+ "style": {
+ "navigationBarTitleText": "商品信息详情"
+ }
+ }
+ ,
+ {
+ "path": "pages/work/product/productInfor/addEdit",
+ "style": {
+ "navigationBarTitleText": "商品信息"
+ }
+ } ,
+ {
+ "path": "pages/work/product/productPriceRecord/list",
+ "style": {
+ "navigationBarTitleText": "物价记录"
+ }
+ } ,
+ {
+ "path": "pages/work/product/productPriceRecord/addEdit",
+ "style": {
+ "navigationBarTitleText": "物价记录"
+ }
+ }
+ ,
{
"path": "pages/work/base/debitCard/list",
"style": {
diff --git a/src/pages/work/index.vue b/src/pages/work/index.vue
index 30fdcc2..20d7a0e 100644
--- a/src/pages/work/index.vue
+++ b/src/pages/work/index.vue
@@ -95,7 +95,8 @@ import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作
{ path: '/pages/work/base/posmachine/list', text: 'pos机管理', icon: 'shop-filled', permission: 'invest:posmachine:list' },
{ path: '/pages/work/base/financials/list', text: '理财账户管理', icon: 'calendar', permission: 'invest:futureStocks:list' },
{ path: '/pages/work/base/stocks/list', text: '股票账户管理', icon: 'auth-filled', permission: 'invest:futureStocks:list' },
- { path: '/pages/work/base/futures/list', text: '期货账户管理', icon: 'paperplane-filled', permission: 'invest:futureStocks:list' }
+ { path: '/pages/work/base/futures/list', text: '期货账户管理', icon: 'paperplane-filled', permission: 'invest:futureStocks:list' },
+ { path: '/pages/work/product/productInfor/list', text: '商品信息', icon: 'list', permission: 'invest:productInfor:list' }
])
const billGridList=ref([
// { path: '/pages/work/bill/creditCardBill/list', text: '信用卡账单', icon: 'list', permission: 'invest:creditCardBill:list' },
@@ -115,6 +116,7 @@ import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作
// { path: '/pages/work/accounts/investAccountDeal/list', text: '投资交易记录', icon: 'chatboxes', permission: 'invest:futureStocks:list' },
// { path: '/pages/work/accounts/debitTransferRecord/list', text: '储蓄账户记账', icon: 'tune', permission: 'invest:debitCard' },
{ path: '/pages/work/accounts/lendTransferRecord/list', text: '借贷账户记账', icon: 'link', permission: 'invest:onlineLend' },
+ { path: '/pages/work/product/productPriceRecord/list', text: '物价记录', icon: 'map', permission: 'invest:productPriceRecord:list' }
// { path: '/pages/work/accounts/accountDealRecord/list', text: '账户交易记录', icon: 'paperclip', permission: 'invest:accountDealRecord:list' }
])
const heartJourneyGridList=ref([
diff --git a/src/pages/work/product/productInfor/addEdit.vue b/src/pages/work/product/productInfor/addEdit.vue
new file mode 100644
index 0000000..4092069
--- /dev/null
+++ b/src/pages/work/product/productInfor/addEdit.vue
@@ -0,0 +1,207 @@
+
+
+
+
+
+ {{ title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/work/product/productInfor/details.vue b/src/pages/work/product/productInfor/details.vue
new file mode 100644
index 0000000..060e52b
--- /dev/null
+++ b/src/pages/work/product/productInfor/details.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/work/product/productInfor/list.vue b/src/pages/work/product/productInfor/list.vue
new file mode 100644
index 0000000..0d03073
--- /dev/null
+++ b/src/pages/work/product/productInfor/list.vue
@@ -0,0 +1,385 @@
+
+
+
+
+
+
+
+
+
+
+
+ 类别
+
+ {{ item.dictLabel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 类别:
+ {{ dictStr(item.category, productTypeList) }}
+
+
+ 单位:
+ {{ dictStr(item.unit, unitList) }}
+
+
+ 创建时间:
+ {{ item.createTime }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/work/product/productPriceRecord/addEdit.vue b/src/pages/work/product/productPriceRecord/addEdit.vue
new file mode 100644
index 0000000..88a6a64
--- /dev/null
+++ b/src/pages/work/product/productPriceRecord/addEdit.vue
@@ -0,0 +1,342 @@
+
+
+
+
+
+ {{ title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/work/product/productPriceRecord/list.vue b/src/pages/work/product/productPriceRecord/list.vue
new file mode 100644
index 0000000..69dc013
--- /dev/null
+++ b/src/pages/work/product/productPriceRecord/list.vue
@@ -0,0 +1,456 @@
+
+
+
+
+
+
+
+
+
+
+
+ 类别
+
+ {{ item.dictLabel }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 类别:
+ {{ dictStr(item.category, productTypeList) }}
+
+
+ 记录时间:
+ {{ item.recordTime }}
+
+
+ 地点:
+ {{ item.address }}
+
+
+ 商家:
+ {{ item.merchant }}
+
+
+
+
+ 修改
+ 复制
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file