bxs-tools-ui 1.2.0-4 → 1.2.0-6

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.
@@ -98,11 +98,9 @@ footer {
98
98
  }
99
99
  .bxt-add-and-take .bxt-aat-table {
100
100
  padding: 12px;
101
- background: #fff;
102
101
  border-radius: 6px
103
102
  }
104
103
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus {
105
- margin-top: 12px;
106
104
  font-size: 13px
107
105
  }
108
106
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus li {
@@ -114,12 +112,13 @@ footer {
114
112
  margin-right: 0;
115
113
  }
116
114
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus li .bxt-aat-bonus-title {
115
+ margin-top: 9px;
117
116
  margin-bottom: 12px;
118
117
  color: #999;
119
118
  }
120
119
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus li .bxt-aat-bonus-desc {
121
120
  display: inline-block;
122
- margin: 0 9px 15px 0;
121
+ margin: 0 9px 12px 0;
123
122
  padding: 3px 6px;
124
123
  border-radius: 50px;
125
124
  background: rgba(0, 0, 0, 0.04);
@@ -164,6 +163,17 @@ footer {
164
163
  text-align: center;
165
164
  overflow: hidden;
166
165
  white-space: nowrap;
166
+ -webkit-box-sizing: content-box;
167
+ -moz-box-sizing: content-box;
168
+ box-sizing: content-box;
169
+ }
170
+ .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child), .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) {
171
+ height: 41px
172
+ }
173
+ .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child) span, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) span {
174
+ display: inline-block;
175
+ height: 15px;
176
+ line-height: 15px;
167
177
  }
168
178
  .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell {
169
179
  background: rgba(0, 0, 0, 0.02);
@@ -207,6 +217,7 @@ footer {
207
217
  }
208
218
  .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record .bxt-aat-table-content-cell__purpose span:nth-child(2) {
209
219
  display: inline-block;
220
+ margin-left: 3px;
210
221
  padding: 1px 3px;
211
222
  color: rgba(10, 100, 254, 1);
212
223
  background: rgba(10, 100, 254, 0.1);
@@ -214,16 +225,16 @@ footer {
214
225
  transform: scale(0.8334);
215
226
  -webkit-transform-origin: left center;
216
227
  transform-origin: left center;
228
+ border-radius: 2px;
217
229
  }
218
230
  .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(1) .bxt-aat-table-content-cell {
219
231
  line-height: normal;
220
232
  }
221
233
  .bxt-add-and-take .bxt-aat-form {
222
- font-size: 13px;
223
- background: white
234
+ font-size: 13px
224
235
  }
225
236
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items {
226
- padding: 15px 0
237
+ padding: 15px 0 12px
227
238
  }
228
239
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bx-form-item .bxt-aat-form-item-title {
229
240
  font-size: 13px;
@@ -266,9 +277,12 @@ footer {
266
277
  }
267
278
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-purpose .bxt-aat-form-purpose-options .bx-input {
268
279
  display: inline-block;
269
- width: 130px;
280
+ width: 150px;
270
281
  margin-left: 3px;
271
- font-size: 13px
282
+ font-size: 13px;
283
+ -webkit-box-sizing: border-box;
284
+ -moz-box-sizing: border-box;
285
+ box-sizing: border-box
272
286
  }
273
287
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-purpose .bxt-aat-form-purpose-options .bx-input .bx-input-control {
274
288
  height: 18px;
@@ -331,7 +345,27 @@ footer {
331
345
  content: ' ';
332
346
  }
333
347
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof {
334
- margin-top: 12px;
348
+ margin-top: 12px
349
+ }
350
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input {
351
+ -webkit-box-sizing: border-box;
352
+ -moz-box-sizing: border-box;
353
+ box-sizing: border-box
354
+ }
355
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::-webkit-input-placeholder {
356
+ font-size: 13px;
357
+ }
358
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::-moz-placeholder {
359
+ font-size: 13px;
360
+ }
361
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control:-ms-input-placeholder {
362
+ font-size: 13px;
363
+ }
364
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::-ms-input-placeholder {
365
+ font-size: 13px;
366
+ }
367
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::placeholder {
368
+ font-size: 13px;
335
369
  }
336
370
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-baof-tips {
337
371
  margin: 12px 0;
@@ -340,7 +374,7 @@ footer {
340
374
  font-size: 12px
341
375
  }
342
376
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-baof-tips span {
343
- color: #508cee;
377
+ color: #0a64fe;
344
378
  font-weight: bold;
345
379
  }
346
380
  .bxt-add-and-take .bxt-aat-footer {
@@ -378,8 +412,8 @@ footer {
378
412
  flex: 1;
379
413
  margin-right: 9px;
380
414
  padding: 9px 0;
381
- color: #508cee;
382
- border: 1px solid #508cee;
415
+ color: #0a64fe;
416
+ border: 1px solid #0a64fe;
383
417
  border-radius: 6px;
384
418
  background: white;
385
419
  text-align: center;
@@ -404,7 +438,6 @@ footer {
404
438
  .bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn .icon-delete_rubbish {
405
439
  margin-right: 3px;
406
440
  font-size: 24px;
407
- font-weight: bold;
408
441
  vertical-align: middle;
409
442
  }
410
443
  .bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn em {
@@ -413,12 +446,12 @@ footer {
413
446
  .bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-ok-btn {
414
447
  margin-right: 0;
415
448
  color: white;
416
- border: 1px solid #508cee;
417
- background: #508cee;
449
+ border: 1px solid #0a64fe;
450
+ background: #0a64fe;
418
451
  }
419
452
  .bxt-add-and-take .bxt-aat-tips {
420
453
  line-height: 145%;
421
- padding: 12px 12px 6px;
454
+ padding: 0 12px 6px;
422
455
  font-size: 12px;
423
456
  color: #999;
424
457
  }
@@ -417,7 +417,7 @@ function calcTotalBaof(productGroupList) {
417
417
  }
418
418
  });
419
419
  });
420
- return totalBaof;
420
+ return totalBaof && Number(totalBaof.toFixed(2));
421
421
  }
422
422
  function getHuomianPeriodValue(val, pMinus, age) {
423
423
  if (val === void 0) { val = ''; }
@@ -6142,8 +6142,8 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
6142
6142
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6143
6143
 
6144
6144
  "use strict";
6145
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_623c293b_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(165);
6146
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_623c293b_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_623c293b_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
6145
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_5e398c6c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(165);
6146
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_5e398c6c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_5e398c6c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
6147
6147
  /* unused harmony reexport * */
6148
6148
 
6149
6149
 
@@ -6179,7 +6179,7 @@ __webpack_require__.r(__webpack_exports__);
6179
6179
  var defineProperty = __webpack_require__(175);
6180
6180
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
6181
6181
 
6182
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/add-and-take/index.vue?vue&type=template&id=623c293b&
6182
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/add-and-take/index.vue?vue&type=template&id=5e398c6c&
6183
6183
 
6184
6184
 
6185
6185
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -6207,13 +6207,19 @@ var render = function render() {
6207
6207
  staticClass: "bxt-aat-bonus-title"
6208
6208
  }, [_vm._v("\n " + _vm._s(_vm.initInterestData[key].title) + "\n ")]), _c('div', {
6209
6209
  staticClass: "bxt-aat-bonus-descs"
6210
- }, _vm._l(_vm.initInterestData[key].opts, function (o) {
6210
+ }, _vm._l(_vm.initInterestData[key].opts, function (o, i) {
6211
6211
  return _c('span', {
6212
6212
  key: o.value,
6213
6213
  class: {
6214
6214
  'bxt-aat-bonus-desc': true,
6215
6215
  active: _vm.interestFormData[key] === o.value
6216
6216
  },
6217
+ attrs: {
6218
+ "data-stat-id": key === 'bonus' ? 'zjlqbfhqh' : 'zjlqblyqh',
6219
+ "data-stat-ep": JSON.stringify({
6220
+ key: key === 'bonus' ? o.value : i
6221
+ })
6222
+ },
6217
6223
  on: {
6218
6224
  "click": function click($event) {
6219
6225
  return _vm.onClickBonusOptions(key, o);
@@ -6251,6 +6257,13 @@ var render = function render() {
6251
6257
  'bxt-aat-table-content-cell__zero': !record[key],
6252
6258
  'bxt-aat-table-content-cell__purpose': key === 'take'
6253
6259
  },
6260
+ attrs: {
6261
+ "data-stat-id": "zjlqblsz",
6262
+ "data-stat-ep": JSON.stringify({
6263
+ key: key,
6264
+ type: _vm.type
6265
+ })
6266
+ },
6254
6267
  on: {
6255
6268
  "click": function click($event) {
6256
6269
  return _vm.onClickToForm(key, record);
@@ -6280,6 +6293,12 @@ var render = function render() {
6280
6293
  staticClass: "bxt-aat-form-item-select"
6281
6294
  }, [_c('span', {
6282
6295
  staticClass: "bxt-aat-form-item-select__button",
6296
+ attrs: {
6297
+ "data-stat-id": "zjlqszksnf",
6298
+ "data-stat-ep": JSON.stringify({
6299
+ type: _vm.type
6300
+ })
6301
+ },
6283
6302
  on: {
6284
6303
  "click": function click($event) {
6285
6304
  return _vm.onClickOpenPicker('beginYear');
@@ -6293,6 +6312,12 @@ var render = function render() {
6293
6312
  staticClass: "bxt-aat-form-item-select"
6294
6313
  }, [_c('span', {
6295
6314
  staticClass: "bxt-aat-form-item-select__button",
6315
+ attrs: {
6316
+ "data-stat-id": "zjlqszjsnf",
6317
+ "data-stat-ep": JSON.stringify({
6318
+ type: _vm.type
6319
+ })
6320
+ },
6296
6321
  on: {
6297
6322
  "click": function click($event) {
6298
6323
  return _vm.onClickOpenPicker('endYear');
@@ -6312,7 +6337,11 @@ var render = function render() {
6312
6337
  attrs: {
6313
6338
  "placeholder": "请输入金额",
6314
6339
  "maxlength": 9,
6315
- "autocomplete": "off"
6340
+ "autocomplete": "off",
6341
+ "data-stat-id": "zjlqszje",
6342
+ "data-stat-ep": JSON.stringify({
6343
+ type: _vm.type
6344
+ })
6316
6345
  },
6317
6346
  model: {
6318
6347
  value: _vm.formData.baof,
@@ -6336,6 +6365,12 @@ var render = function render() {
6336
6365
  class: {
6337
6366
  active: _vm.formData.purpose === o.val
6338
6367
  },
6368
+ attrs: {
6369
+ "data-stat-id": "lqszyt",
6370
+ "data-stat-ep": JSON.stringify({
6371
+ value: o.val || o.desc
6372
+ })
6373
+ },
6339
6374
  on: {
6340
6375
  "click": function click($event) {
6341
6376
  _vm.formData.purpose = o.val;
@@ -6346,7 +6381,8 @@ var render = function render() {
6346
6381
  attrs: {
6347
6382
  "placeholder": "请输入,5个字以内",
6348
6383
  "maxlength": 5,
6349
- "autocomplete": "off"
6384
+ "autocomplete": "off",
6385
+ "data-stat-id": "lqszytzdytx"
6350
6386
  },
6351
6387
  model: {
6352
6388
  value: _vm.formData.customPurpose,
@@ -6363,18 +6399,36 @@ var render = function render() {
6363
6399
  staticClass: "bxt-aat-footer-wrapper"
6364
6400
  }, [_vm.subName === 'Table' ? [_vm.isShowDeleteAllBtn ? _c('span', {
6365
6401
  staticClass: "bxt-aat-footer-delete-all-btn",
6402
+ attrs: {
6403
+ "data-stat-id": "zjlqbqk",
6404
+ "data-stat-ep": JSON.stringify({
6405
+ type: _vm.type
6406
+ })
6407
+ },
6366
6408
  on: {
6367
6409
  "click": _vm.deleteAllData
6368
6410
  }
6369
6411
  }, [_c('i', {
6370
6412
  staticClass: "iconfont icon-delete_rubbish"
6371
6413
  }), _c('em', [_vm._v("清空")])]) : _vm._e(), ['addAndTake', 'add'].includes(_vm.type) ? _c('span', {
6414
+ attrs: {
6415
+ "data-stat-id": "zjlqbzj",
6416
+ "data-stat-ep": JSON.stringify({
6417
+ type: _vm.type
6418
+ })
6419
+ },
6372
6420
  on: {
6373
6421
  "click": function click($event) {
6374
6422
  return _vm.openFormPicker('add');
6375
6423
  }
6376
6424
  }
6377
6425
  }, [_vm._v("追加")]) : _vm._e(), ['addAndTake', 'take', 'reduceBaof'].includes(_vm.type) ? _c('span', {
6426
+ attrs: {
6427
+ "data-stat-id": "zjlqblq",
6428
+ "data-stat-ep": JSON.stringify({
6429
+ type: _vm.type
6430
+ })
6431
+ },
6378
6432
  on: {
6379
6433
  "click": function click($event) {
6380
6434
  return _vm.openFormPicker('take');
@@ -6382,6 +6436,12 @@ var render = function render() {
6382
6436
  }
6383
6437
  }, [_vm._v("领取")]) : _vm._e(), _c('span', {
6384
6438
  staticClass: "bxt-aat-footer-ok-btn",
6439
+ attrs: {
6440
+ "data-stat-id": "zjlqbqr",
6441
+ "data-stat-ep": JSON.stringify({
6442
+ type: _vm.type
6443
+ })
6444
+ },
6385
6445
  on: {
6386
6446
  "click": function click($event) {
6387
6447
  return _vm.tableConfirm();
@@ -6398,6 +6458,12 @@ var render = function render() {
6398
6458
  }
6399
6459
  }, [_vm._v("\n 删除" + _vm._s(_vm.formData.beginYear) + "-" + _vm._s(_vm.formData.endYear) + "年记录\n ")]) : _vm._e(), _c('span', {
6400
6460
  staticClass: "bxt-aat-footer-ok-btn",
6461
+ attrs: {
6462
+ "data-stat-id": "zjlqszqr",
6463
+ "data-stat-ep": JSON.stringify({
6464
+ type: _vm.type
6465
+ })
6466
+ },
6401
6467
  on: {
6402
6468
  "click": function click($event) {
6403
6469
  return _vm.formConfirm();
@@ -6408,7 +6474,7 @@ var render = function render() {
6408
6474
 
6409
6475
  var staticRenderFns = [];
6410
6476
 
6411
- // CONCATENATED MODULE: ./packages/add-and-take/index.vue?vue&type=template&id=623c293b&
6477
+ // CONCATENATED MODULE: ./packages/add-and-take/index.vue?vue&type=template&id=5e398c6c&
6412
6478
 
6413
6479
  // EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
6414
6480
  var tslib_es6 = __webpack_require__(0);
@@ -6635,15 +6701,7 @@ function getEnsureCanTakeAmount(initialData) {
6635
6701
  }
6636
6702
  }
6637
6703
 
6638
- var numMaxlength = 0;
6639
-
6640
- if (initialData) {
6641
- initialData.map(function (d) {
6642
- if (d.key === 'account_value' && d.values && d.values.length) {
6643
- numMaxlength = d.values.length;
6644
- }
6645
- });
6646
- }
6704
+ var numMaxlength = accountValue && accountValue.values ? accountValue.values.length : 0;
6647
6705
 
6648
6706
  if (beginYear && endYear && numMaxlength && endYear <= numMaxlength) {
6649
6707
  for (var i = endYear + 1; i <= numMaxlength; i++) {
@@ -7163,8 +7221,8 @@ var add_and_takevue_type_script_lang_ts_AddAndTake = (function (_super) {
7163
7221
 
7164
7222
  // CONCATENATED MODULE: ./packages/add-and-take/index.vue?vue&type=script&lang=ts&
7165
7223
  /* harmony default export */ var packages_add_and_takevue_type_script_lang_ts_ = (add_and_takevue_type_script_lang_ts_);
7166
- // EXTERNAL MODULE: ./packages/add-and-take/index.vue?vue&type=style&index=0&id=623c293b&prod&lang=css&
7167
- var add_and_takevue_type_style_index_0_id_623c293b_prod_lang_css_ = __webpack_require__(177);
7224
+ // EXTERNAL MODULE: ./packages/add-and-take/index.vue?vue&type=style&index=0&id=5e398c6c&prod&lang=css&
7225
+ var add_and_takevue_type_style_index_0_id_5e398c6c_prod_lang_css_ = __webpack_require__(177);
7168
7226
 
7169
7227
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
7170
7228
  var componentNormalizer = __webpack_require__(7);
@@ -118,7 +118,7 @@ footer {
118
118
  padding: 10px 8px 8px
119
119
  }
120
120
  .bxt-adjust-baoe .bxt-ade-table .bxt-ade-table-content tr td em.active {
121
- color: #508cee;
121
+ color: #0a64fe;
122
122
  }
123
123
  .bxt-adjust-baoe .bxt-ade-table .bxt-ade-table-content tr:nth-child(2n + 1) td {
124
124
  background: #f8f8f8;
@@ -228,7 +228,7 @@ footer {
228
228
  flex: 3;
229
229
  margin-right: 0;
230
230
  color: white;
231
- border: 1px solid #508cee;
232
- background: #508cee;
231
+ border: 1px solid #0a64fe;
232
+ background: #0a64fe;
233
233
  }
234
234
 
@@ -417,7 +417,7 @@ function calcTotalBaof(productGroupList) {
417
417
  }
418
418
  });
419
419
  });
420
- return totalBaof;
420
+ return totalBaof && Number(totalBaof.toFixed(2));
421
421
  }
422
422
  function getHuomianPeriodValue(val, pMinus, age) {
423
423
  if (val === void 0) { val = ''; }
@@ -417,7 +417,7 @@ function calcTotalBaof(productGroupList) {
417
417
  }
418
418
  });
419
419
  });
420
- return totalBaof;
420
+ return totalBaof && Number(totalBaof.toFixed(2));
421
421
  }
422
422
  function getHuomianPeriodValue(val, pMinus, age) {
423
423
  if (val === void 0) { val = ''; }
package/lib/index.css CHANGED
@@ -98,11 +98,9 @@ footer {
98
98
  }
99
99
  .bxt-add-and-take .bxt-aat-table {
100
100
  padding: 12px;
101
- background: #fff;
102
101
  border-radius: 6px
103
102
  }
104
103
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus {
105
- margin-top: 12px;
106
104
  font-size: 13px
107
105
  }
108
106
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus li {
@@ -114,12 +112,13 @@ footer {
114
112
  margin-right: 0;
115
113
  }
116
114
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus li .bxt-aat-bonus-title {
115
+ margin-top: 9px;
117
116
  margin-bottom: 12px;
118
117
  color: #999;
119
118
  }
120
119
  .bxt-add-and-take .bxt-aat-table .bxt-aat-bonus li .bxt-aat-bonus-desc {
121
120
  display: inline-block;
122
- margin: 0 9px 15px 0;
121
+ margin: 0 9px 12px 0;
123
122
  padding: 3px 6px;
124
123
  border-radius: 50px;
125
124
  background: rgba(0, 0, 0, 0.04);
@@ -164,6 +163,17 @@ footer {
164
163
  text-align: center;
165
164
  overflow: hidden;
166
165
  white-space: nowrap;
166
+ -webkit-box-sizing: content-box;
167
+ -moz-box-sizing: content-box;
168
+ box-sizing: content-box;
169
+ }
170
+ .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child), .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) {
171
+ height: 41px
172
+ }
173
+ .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child) span, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) span {
174
+ display: inline-block;
175
+ height: 15px;
176
+ line-height: 15px;
167
177
  }
168
178
  .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell {
169
179
  background: rgba(0, 0, 0, 0.02);
@@ -207,6 +217,7 @@ footer {
207
217
  }
208
218
  .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record .bxt-aat-table-content-cell__purpose span:nth-child(2) {
209
219
  display: inline-block;
220
+ margin-left: 3px;
210
221
  padding: 1px 3px;
211
222
  color: rgba(10, 100, 254, 1);
212
223
  background: rgba(10, 100, 254, 0.1);
@@ -214,16 +225,16 @@ footer {
214
225
  transform: scale(0.8334);
215
226
  -webkit-transform-origin: left center;
216
227
  transform-origin: left center;
228
+ border-radius: 2px;
217
229
  }
218
230
  .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(1) .bxt-aat-table-content-cell {
219
231
  line-height: normal;
220
232
  }
221
233
  .bxt-add-and-take .bxt-aat-form {
222
- font-size: 13px;
223
- background: white
234
+ font-size: 13px
224
235
  }
225
236
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items {
226
- padding: 15px 0
237
+ padding: 15px 0 12px
227
238
  }
228
239
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bx-form-item .bxt-aat-form-item-title {
229
240
  font-size: 13px;
@@ -266,9 +277,12 @@ footer {
266
277
  }
267
278
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-purpose .bxt-aat-form-purpose-options .bx-input {
268
279
  display: inline-block;
269
- width: 130px;
280
+ width: 150px;
270
281
  margin-left: 3px;
271
- font-size: 13px
282
+ font-size: 13px;
283
+ -webkit-box-sizing: border-box;
284
+ -moz-box-sizing: border-box;
285
+ box-sizing: border-box
272
286
  }
273
287
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-purpose .bxt-aat-form-purpose-options .bx-input .bx-input-control {
274
288
  height: 18px;
@@ -331,7 +345,27 @@ footer {
331
345
  content: ' ';
332
346
  }
333
347
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof {
334
- margin-top: 12px;
348
+ margin-top: 12px
349
+ }
350
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input {
351
+ -webkit-box-sizing: border-box;
352
+ -moz-box-sizing: border-box;
353
+ box-sizing: border-box
354
+ }
355
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::-webkit-input-placeholder {
356
+ font-size: 13px;
357
+ }
358
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::-moz-placeholder {
359
+ font-size: 13px;
360
+ }
361
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control:-ms-input-placeholder {
362
+ font-size: 13px;
363
+ }
364
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::-ms-input-placeholder {
365
+ font-size: 13px;
366
+ }
367
+ .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-item-baof .bx-input .bx-input-control::placeholder {
368
+ font-size: 13px;
335
369
  }
336
370
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-baof-tips {
337
371
  margin: 12px 0;
@@ -340,7 +374,7 @@ footer {
340
374
  font-size: 12px
341
375
  }
342
376
  .bxt-add-and-take .bxt-aat-form .bxt-aat-form-items .bxt-aat-form-baof-tips span {
343
- color: #508cee;
377
+ color: #0a64fe;
344
378
  font-weight: bold;
345
379
  }
346
380
  .bxt-add-and-take .bxt-aat-footer {
@@ -378,8 +412,8 @@ footer {
378
412
  flex: 1;
379
413
  margin-right: 9px;
380
414
  padding: 9px 0;
381
- color: #508cee;
382
- border: 1px solid #508cee;
415
+ color: #0a64fe;
416
+ border: 1px solid #0a64fe;
383
417
  border-radius: 6px;
384
418
  background: white;
385
419
  text-align: center;
@@ -404,7 +438,6 @@ footer {
404
438
  .bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn .icon-delete_rubbish {
405
439
  margin-right: 3px;
406
440
  font-size: 24px;
407
- font-weight: bold;
408
441
  vertical-align: middle;
409
442
  }
410
443
  .bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn em {
@@ -413,12 +446,12 @@ footer {
413
446
  .bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-ok-btn {
414
447
  margin-right: 0;
415
448
  color: white;
416
- border: 1px solid #508cee;
417
- background: #508cee;
449
+ border: 1px solid #0a64fe;
450
+ background: #0a64fe;
418
451
  }
419
452
  .bxt-add-and-take .bxt-aat-tips {
420
453
  line-height: 145%;
421
- padding: 12px 12px 6px;
454
+ padding: 0 12px 6px;
422
455
  font-size: 12px;
423
456
  color: #999;
424
457
  }
@@ -537,7 +570,7 @@ footer {
537
570
  padding: 10px 8px 8px
538
571
  }
539
572
  .bxt-adjust-baoe .bxt-ade-table .bxt-ade-table-content tr td em.active {
540
- color: #508cee;
573
+ color: #0a64fe;
541
574
  }
542
575
  .bxt-adjust-baoe .bxt-ade-table .bxt-ade-table-content tr:nth-child(2n + 1) td {
543
576
  background: #f8f8f8;
@@ -647,8 +680,8 @@ footer {
647
680
  flex: 3;
648
681
  margin-right: 0;
649
682
  color: white;
650
- border: 1px solid #508cee;
651
- background: #508cee;
683
+ border: 1px solid #0a64fe;
684
+ background: #0a64fe;
652
685
  }
653
686
 
654
687
  :root {
@@ -1075,7 +1108,7 @@ footer {
1075
1108
  line-height: 36px;
1076
1109
  margin: 7px auto 0;
1077
1110
  border-radius: 4px;
1078
- background: #508cee;
1111
+ background: #999;
1079
1112
  }
1080
1113
  .bxt-calculate .bxt-content .bxt-value {
1081
1114
  font-size: 13px;
@@ -1515,7 +1548,7 @@ footer {
1515
1548
  width: 4px;
1516
1549
  height: 15px;
1517
1550
  content: '';
1518
- background: #508cee;
1551
+ background: #0a64fe;
1519
1552
  }
1520
1553
  .bxt-item-title .bxt-item-title-label {
1521
1554
  width: 100%;
@@ -1546,7 +1579,7 @@ footer {
1546
1579
  }
1547
1580
  .bxt-item-title .bxt-item-title-label .bxt-titile-persion-modify {
1548
1581
  margin-left: 12px;
1549
- color: #508cee;
1582
+ color: #0a64fe;
1550
1583
  font-weight: normal;
1551
1584
  font-size: 14px
1552
1585
  }
@@ -1582,7 +1615,7 @@ footer {
1582
1615
  text-align: left
1583
1616
  }
1584
1617
  .bxt-title-huomian-tips em {
1585
- color: #508cee;
1618
+ color: #0a64fe;
1586
1619
  }
1587
1620
 
1588
1621
  :root {