From 11bec835f767fe392436341ca8dc8b1209066ff7 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Thu, 9 Mar 2023 11:27:13 +0800 Subject: [PATCH] =?UTF-8?q?2023-3-9=20=E5=93=81=E7=89=8C=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=20=E5=88=97=E8=A1=A8=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervise-customer-ui/.env.development | 6 +- supervise-customer-ui/.env.production | 2 +- .../src/api/portal/Upload.js | 4 +- .../src/api/supervise/commodityFile.js | 143 ++++++ .../src/api/supervise/supplierbankinfo.js | 10 + .../uploadFile/upload_yanchejianchaTuBiao.vue | 384 +++++++------- .../src/router/modules/codemenu.js | 34 ++ supervise-customer-ui/src/settings.js | 2 +- .../brand/brandManagementInfo.vue | 265 ++++++++++ .../brand/brandManagementInfoAdd.vue | 157 ++++++ .../classification/classManagementInfo.vue | 262 ++++++++++ .../classification/classManagementInfoAdd.vue | 157 ++++++ .../commodity/commodityManagementInfo.vue | 297 +++++++++++ .../commodity/commodityManagementInfoAdd.vue | 130 +++++ .../commodityManagementInfoDetail.vue | 282 +++++++++++ .../supplierbankinfo/supplierbankinfoAdd.vue | 472 ++++++++++++------ supervise-customer-ui/vue.config.js | 2 +- yxt-portal-ui/.env.development | 4 +- yxt-portal-ui/src/views/Home/Home.vue | 2 +- 19 files changed, 2276 insertions(+), 339 deletions(-) create mode 100644 supervise-customer-ui/src/api/supervise/commodityFile.js create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfo.vue create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfoAdd.vue create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfo.vue create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfoAdd.vue create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfo.vue create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoAdd.vue create mode 100644 supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoDetail.vue diff --git a/supervise-customer-ui/.env.development b/supervise-customer-ui/.env.development index 5131ea3a..12079d63 100644 --- a/supervise-customer-ui/.env.development +++ b/supervise-customer-ui/.env.development @@ -2,8 +2,8 @@ ENV = 'development' # base api -VUE_APP_BASE_API = '/api/service' +VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 -VUE_APP_URL = "http://8.130.39.13:8112" -##VUE_APP_URL = "http://120.46.172.184:8111" +##VUE_APP_URL = "http://8.130.39.13:8112" +VUE_APP_URL = "http://192.168.3.9:8112" diff --git a/supervise-customer-ui/.env.production b/supervise-customer-ui/.env.production index 811f3444..c4d0fd79 100644 --- a/supervise-customer-ui/.env.production +++ b/supervise-customer-ui/.env.production @@ -2,7 +2,7 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/api/service' +VUE_APP_BASE_API = '/api' ## 配置 正式接口地址 VUE_APP_URL = "http://120.46.131.15:8111" diff --git a/supervise-customer-ui/src/api/portal/Upload.js b/supervise-customer-ui/src/api/portal/Upload.js index ea3c2ccf..abee38ed 100644 --- a/supervise-customer-ui/src/api/portal/Upload.js +++ b/supervise-customer-ui/src/api/portal/Upload.js @@ -4,7 +4,9 @@ import qs from 'qs' const base = process.env.VUE_APP_URL // 文件上传接口 -export const uploadFile = '/api/file/upload' +export const uploadFile = process.env.VUE_APP_BASE_API + '/file/upload' + + // 上传图片 // export function imageUpload(data) { diff --git a/supervise-customer-ui/src/api/supervise/commodityFile.js b/supervise-customer-ui/src/api/supervise/commodityFile.js new file mode 100644 index 00000000..10ee0987 --- /dev/null +++ b/supervise-customer-ui/src/api/supervise/commodityFile.js @@ -0,0 +1,143 @@ +import request from '@/utils/request' +// 商品档案 +export default { + + // 品牌品类 分类列表 + brandListPage: function(params) { + return request({ + url: '/customer/v1/restrictedbrand/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 品牌品类 通过sid删除一条或多条记录 + brandDelBySids: function(sid) { + return request({ + url: '/customer/v1/restrictedbrand/delBySid/'+ sid, + method: 'delete' + }) + }, + // 品牌品类 保存品牌品类 + saveBrand: function(params) { + return request({ + url: '/customer/v1/restrictedbrand/save', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 品牌品类 通过sid查询一条记录 + brandFetchBySid: function(sid) { + return request({ + url: '/customer/v1/restrictedbrand/fetchDetailsBySid/' + sid + }) + }, + + + + // 类别维护 类别列表 + classListPage: function(params) { + return request({ + url: '/customer/v1/restrictedcategory/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 品牌品类 通过sid删除一条或多条记录 + classDelBySids: function(sid) { + return request({ + url: '/customer/v1/restrictedcategory/delBySid/'+ sid, + method: 'delete' + }) + }, + // 品牌品类 保存品牌品类 + saveClass: function(params) { + return request({ + url: '/customer/v1/restrictedcategory/save', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 品牌品类 通过sid查询一条记录 + classFetchBySid: function(sid) { + return request({ + url: '/customer/v1/restrictedcategory/fetchDetailsBySid/' + sid + }) + }, + + + + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/v1/supplierbankinfo/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 保存新增记录 + saveOrUpdate: function(params) { + return request({ + url: '/v1/supplierbankinfo/save', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid删除一条或多条记录 + delBySids: function(params) { + return request({ + url: '/v1/supplierbankinfo/delBySids', + method: 'delete', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 通过sid查询一条记录 + fetchBySid: function(sid) { + return request({ + url: '/v1/supplierbankinfo/fetchDetailsBySid/' + sid + }) + }, + // 关联供应商--验证 + verification: function(params) { + return request({ + url: '/v1/supplierindex/verification', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 关联供应商--查看详情 + fetchDetailsBySid: function(data) { + return request({ + url: '/v1/supplierindex/fetchDetailsBySid/' + data, + method: 'get' + }) + }, + // 关联供应商--查看详情--保存 + save: function(data) { + return request({ + url: '/v1/supplierindex/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + + // 保存供应商 + saveSupplier: function(params) { + return request({ + url: '/v1/supplier/saveSupplier', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + +} diff --git a/supervise-customer-ui/src/api/supervise/supplierbankinfo.js b/supervise-customer-ui/src/api/supervise/supplierbankinfo.js index 873cc940..dc1cd19c 100644 --- a/supervise-customer-ui/src/api/supervise/supplierbankinfo.js +++ b/supervise-customer-ui/src/api/supervise/supplierbankinfo.js @@ -60,5 +60,15 @@ export default { headers: { 'Content-Type': 'application/json' } }) }, + + // 保存供应商 + saveSupplier: function(params) { + return request({ + url: '/v1/supplier/saveSupplier', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, } diff --git a/supervise-customer-ui/src/components/uploadFile/upload_yanchejianchaTuBiao.vue b/supervise-customer-ui/src/components/uploadFile/upload_yanchejianchaTuBiao.vue index b7c1089a..69cc9858 100644 --- a/supervise-customer-ui/src/components/uploadFile/upload_yanchejianchaTuBiao.vue +++ b/supervise-customer-ui/src/components/uploadFile/upload_yanchejianchaTuBiao.vue @@ -1,222 +1,226 @@ diff --git a/supervise-customer-ui/src/router/modules/codemenu.js b/supervise-customer-ui/src/router/modules/codemenu.js index c6b1ae0b..c0a2ee56 100644 --- a/supervise-customer-ui/src/router/modules/codemenu.js +++ b/supervise-customer-ui/src/router/modules/codemenu.js @@ -65,6 +65,40 @@ const codemenu = [{ noCache: true } }] +}, { + path: '/commodityFile', + component: Layout, + redirect: '/commodityFile', + meta: { + title: '商品档案' + }, + children: [{ + path: '/supervise/commodityFile/commodity/commodityManagementInfo', + component: () => import('@/views/supervise/commodityFile/commodity/commodityManagementInfo.vue'), + name: 'commodityManagementInfo', + meta: { + title: '商品管理', + noCache: true + } + }, + { + path: '/supervise/commodityFile/brand/brandManagementInfo', + component: () => import('@/views/supervise/commodityFile/brand/brandManagementInfo.vue'), + name: 'brandManagementInfo', + meta: { + title: '品牌维护', + noCache: true + } + }, + { + path: '/supervise/commodityFile/classification/classManagementInfo', + component: () => import('@/views/supervise/commodityFile/classification/classManagementInfo.vue'), + name: 'classManagementInfo', + meta: { + title: '类别维护', + noCache: true + } + }] }, { path: '/kucunsjsb', component: Layout, diff --git a/supervise-customer-ui/src/settings.js b/supervise-customer-ui/src/settings.js index 0dc7efda..9f78bf67 100644 --- a/supervise-customer-ui/src/settings.js +++ b/supervise-customer-ui/src/settings.js @@ -1,6 +1,6 @@ module.exports = { - title: '汇融供应链贷后监管平台 + title: '汇融供应链贷后监管平台', /** * @type {boolean} true | false diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfo.vue b/supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfo.vue new file mode 100644 index 00000000..11bb02af --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfo.vue @@ -0,0 +1,265 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfoAdd.vue b/supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfoAdd.vue new file mode 100644 index 00000000..8ef37312 --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/brand/brandManagementInfoAdd.vue @@ -0,0 +1,157 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfo.vue b/supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfo.vue new file mode 100644 index 00000000..9a57e080 --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfo.vue @@ -0,0 +1,262 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfoAdd.vue b/supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfoAdd.vue new file mode 100644 index 00000000..5c26a515 --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/classification/classManagementInfoAdd.vue @@ -0,0 +1,157 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfo.vue b/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfo.vue new file mode 100644 index 00000000..beb9c5ac --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfo.vue @@ -0,0 +1,297 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoAdd.vue b/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoAdd.vue new file mode 100644 index 00000000..a77e3f11 --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoAdd.vue @@ -0,0 +1,130 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoDetail.vue b/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoDetail.vue new file mode 100644 index 00000000..c214e91b --- /dev/null +++ b/supervise-customer-ui/src/views/supervise/commodityFile/commodity/commodityManagementInfoDetail.vue @@ -0,0 +1,282 @@ + + + + diff --git a/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfoAdd.vue b/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfoAdd.vue index 1a91f795..5ba4c3af 100644 --- a/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfoAdd.vue +++ b/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfoAdd.vue @@ -13,104 +13,183 @@ -
- - - - - - - - - - -
- 供应商名称: - -
-
- 供应商编码: - -
-
- 联系人: - -
-
- 电话: - -
-
- 单位地址: - -
-
- 法人代表: - -
-
- 开户行: - -
-
- 银行账户: - -
-
- 银行账号: - -
-
- 营业执照号: - -
-
- - - - - - - - - - - - - - - - - - -
-
- 关联第二代码 -
- - 添加 +
+
+ + + + + + + + + + +
+ 供应商名称: + +
+
+ 供应商编码: + +
+
+ 联系人: + +
+
+ 电话: + +
+
+ 单位地址: + +
+
+ 法人代表: + +
+
+ 开户行: + +
+
+ 银行账户: + +
+
+ 银行账号: + +
+
+ 营业执照号: + +
+
+ + + +
+ 营业执照: +
+ + + + +
+ +
+ +
+ + + + +
+ 合同编号: + +
+
+ 合同有效期: + +
+
+ 签署人: + +
+
+ 合同金额: + +
+
+ 经办人: + +
+
+ 签署组织: + +
+
+ 合同附件: +
+ + + + +
+
+
+ + + + + + +
+ 供应商名称: + {{formobj.name}} +
+ +
+ 供应商编码: + {{formobj.codeUnified}}
-
-
- {{item}} - 删除 + +
+ 第二代码: +
+
+ {{item}} + 删除 +
+
+ + 添加 +
+
+ + + + +
+ 上一步 + 下一步 + 提交
- + + + 是否确认要删除此管理代码? + + 取 消 + 确 定 + + - -
- 上一步 - 下一步 - 提交
@@ -118,137 +197,252 @@