jufubao-base 1.0.216-beta1 → 1.0.217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.216-beta1",
3
+ "version": "1.0.217",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -63,7 +63,7 @@
63
63
  </xd-form-item>
64
64
  </xd-form>
65
65
  <view class="jfb-base-card-merge__body-btn">
66
- <xd-button @click="handleToSubmit" width="90%" type="primary" >提交</xd-button>
66
+ <xd-button @click="handleToSubmit" width="90%" type="primary" >提交</xd-button>
67
67
  </view>
68
68
  </view>
69
69
  <view class="xd-notice" :style="{ color: warningColor }" v-if="content">
@@ -201,6 +201,18 @@ export default {
201
201
  this.$set(this.mergeForm, "valid_token", valid_token);
202
202
  },
203
203
  handleToSubmit() {
204
+ if(!this.mergeForm.from_card_number){
205
+ this.$xdAlert({
206
+ content: '请选择转出卡号!'
207
+ })
208
+ return
209
+ }
210
+ if(!this.mergeForm.to_card_number){
211
+ this.$xdAlert({
212
+ content: '请选择转入卡号!'
213
+ })
214
+ return
215
+ }
204
216
  this.$xdConfirm({
205
217
  title: "是否确认合并卡",
206
218
  isHtml: true,