diff --git a/public/.DS_Store b/public/.DS_Store
index 50cdc86f0..dcee88133 100755
Binary files a/public/.DS_Store and b/public/.DS_Store differ
diff --git a/public/css/vc.css b/public/css/vc.css
index 4e9d9bc1f..0e78ffdd7 100644
--- a/public/css/vc.css
+++ b/public/css/vc.css
@@ -951,4 +951,17 @@ nav-link nav-link-breadcrumb active:active {
text-align: center;
height: 100;
color: #FFFFFF;
+}
+
+.coupon-market .coupon{
+ border-radius: 5px;
+ background-color: #FFFFFF;
+}
+
+.coupon-market .coupon img{
+ width: 100%;
+ height: 120px;
+}
+.coupon-market .coupon .title{
+ font-size: 16px;
}
\ No newline at end of file
diff --git a/public/pages/.DS_Store b/public/pages/.DS_Store
index ab35ddbc9..f6bbe26b0 100755
Binary files a/public/pages/.DS_Store and b/public/pages/.DS_Store differ
diff --git a/public/pages/scm/couponMarket/couponMarket.html b/public/pages/scm/couponMarket/couponMarket.html
new file mode 100644
index 000000000..a474fa3f4
--- /dev/null
+++ b/public/pages/scm/couponMarket/couponMarket.html
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
![]()
+
+ {{item.name}}
+
+
+
+ 售价:¥{{item.valuePrice}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/pages/scm/couponMarket/couponMarket.js b/public/pages/scm/couponMarket/couponMarket.js
new file mode 100644
index 000000000..e355c1bff
--- /dev/null
+++ b/public/pages/scm/couponMarket/couponMarket.js
@@ -0,0 +1,83 @@
+(function (vc) {
+ var DEFAULT_PAGE = 1;
+ var DEFAULT_ROWS = 15;
+ vc.extends({
+ data: {
+ couponMarketInfo: {
+ coupons: [],
+ suppliers: [],
+ total: 0,
+ records: 1,
+ url:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.zhimg.com%2Fv2-e262fc8062b7ef085a9f4de51a31f08f_1440w.jpg%3Fsource%3D172ae18b&refer=http%3A%2F%2Fpic1.zhimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1671372327&t=5644f55f337250a4f5af2baae7f34e3e'
+ },
+ },
+ _initMethod: function () {
+
+
+ $that._loadTopSupplier();
+ $that._loadCoupons(DEFAULT_PAGE,DEFAULT_ROWS,'');
+
+ },
+ _initEvent: function () {
+ vc.on('pagination', 'page_event', function (_currentPage) {
+ vc.component._listSupplierCoupons(_currentPage, DEFAULT_ROWS,'');
+ });
+ },
+ methods: {
+ _querySupplierCoupon:function(_item){
+ $that._loadCoupons(DEFAULT_PAGE,DEFAULT_ROWS,_item.supplierId);
+ },
+ _doSearch:function(){
+ $that._loadCoupons(DEFAULT_PAGE,DEFAULT_ROWS,'');
+ },
+ _loadTopSupplier: function () {
+
+ let param = {
+ params: {
+ page: 1,
+ row: 5,
+ }
+ };
+
+ //发送get请求
+ vc.http.apiGet('/supplier.listSupplier',
+ param,
+ function (json, res) {
+ let _supplierManageInfo = JSON.parse(json);
+ vc.component.couponMarketInfo.suppliers = _supplierManageInfo.data;
+ }, function (errInfo, error) {
+ console.log('请求失败处理');
+ }
+ );
+ },
+ _loadCoupons: function (_page, _row, _supplierId) {
+
+ let param = {
+ params: {
+ page: _page,
+ row: _row,
+ supplierId: _supplierId
+ }
+ };
+
+ //发送get请求
+ vc.http.apiGet('/supplierCoupon.listSupplierCoupon',
+ param,
+ function (json, res) {
+ let _supplierCouponInfo = JSON.parse(json);
+ vc.component.couponMarketInfo.total = _supplierCouponInfo.total;
+ vc.component.couponMarketInfo.records = _supplierCouponInfo.records;
+ vc.component.couponMarketInfo.coupons = _supplierCouponInfo.data;
+ vc.emit('pagination', 'init', {
+ total: vc.component.couponMarketInfo.records,
+ currentPage: _page
+ });
+ }, function (errInfo, error) {
+ console.log('请求失败处理');
+ }
+ );
+ }
+
+ },
+ });
+})(window.vc);
\ No newline at end of file