From 99273e2ff9c6b277d1d91a5109d0644ecd4c8436 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Mon, 21 Nov 2022 10:19:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../addCouponPropertyPool.html | 13 ++++++-- .../addCouponPropertyPool.js | 27 ++++++++++++++- .../editCouponPropertyPool.html | 14 +++++--- .../editCouponPropertyPool.js | 33 ++++++++++++++++--- .../pages/property/listOwner/listOwner.html | 1 + .../couponPropertyPoolManage.html | 11 +++++-- 6 files changed, 84 insertions(+), 15 deletions(-) diff --git a/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.html b/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.html index b4142b8e1..39d0f7f1b 100644 --- a/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.html +++ b/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.html @@ -24,10 +24,10 @@
- - @@ -38,6 +38,13 @@
+
+ +
+ +
+
+ :placeholder="vc.i18n('必填,请填写有效期(天)','addCouponPropertyPool')" class="form-control">
diff --git a/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.js b/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.js index 87c07e342..acbfa694b 100644 --- a/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.js +++ b/public/components/scm/addCouponPropertyPool/addCouponPropertyPool.js @@ -13,7 +13,7 @@ toType: '', stock: '', validityDay: '', - + toTypes:[] } }, _initMethod: function () { @@ -138,8 +138,33 @@ toType: '', stock: '', validityDay: '', + toTypes:[] }; + }, + _addChangeToType:function(){ + if(!$that.addCouponPropertyPoolInfo.toType){ + return; + } + + let _param = { + params:{ + beanName:$that.addCouponPropertyPoolInfo.toType, + page:1, + row:100 + } + + } + //发送get请求 + vc.http.apiGet('/couponKey.listCouponKey', + _param, + function (json, res) { + let _marketSmsManageInfo = JSON.parse(json); + $that.addCouponPropertyPoolInfo.toTypes = _marketSmsManageInfo.data; + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); } } }); diff --git a/public/components/scm/editCouponPropertyPool/editCouponPropertyPool.html b/public/components/scm/editCouponPropertyPool/editCouponPropertyPool.html index 9cc40fb59..c4302a68b 100644 --- a/public/components/scm/editCouponPropertyPool/editCouponPropertyPool.html +++ b/public/components/scm/editCouponPropertyPool/editCouponPropertyPool.html @@ -1,10 +1,10 @@ -