tplus-components-touch 3.33.5 → 3.33.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.
Files changed (188) hide show
  1. package/README.md +16 -16
  2. package/dist/components/acCitySelect/CitySelect.js +18 -18
  3. package/dist/components/acCitySelect/CitySelect.js.map +1 -1
  4. package/dist/components/acCitySelect/CitySelect.less +9 -9
  5. package/dist/components/acCitySelect/citys.js.map +1 -1
  6. package/dist/components/acCitySelect/index.js.map +1 -1
  7. package/dist/components/acCitySelect/provinceData.js +7 -7
  8. package/dist/components/acCitySelect/provinceData.js.map +1 -1
  9. package/dist/components/addLog/AddLogProcessor.js +6 -6
  10. package/dist/components/addLog/AddLogProcessor.js.map +1 -1
  11. package/dist/components/addLog/OperationLogApi.js +3 -3
  12. package/dist/components/addLog/OperationLogApi.js.map +1 -1
  13. package/dist/components/autoComplete/index.js +14 -14
  14. package/dist/components/autoComplete/index.js.map +1 -1
  15. package/dist/components/autoComplete/index.less +89 -89
  16. package/dist/components/autoComplete/option.js.map +1 -1
  17. package/dist/components/autoCompleteWithKeyboard/index.js +14 -14
  18. package/dist/components/autoCompleteWithKeyboard/index.js.map +1 -1
  19. package/dist/components/autoCompleteWithKeyboard/index.less +7 -7
  20. package/dist/components/billSearch/api.js +29 -29
  21. package/dist/components/billSearch/api.js.map +1 -1
  22. package/dist/components/billSearch/index.js +6 -6
  23. package/dist/components/billSearch/index.js.map +1 -1
  24. package/dist/components/billSearch/index.less +376 -376
  25. package/dist/components/cloudPrint/BTPrintFormatUtil.js +17 -17
  26. package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
  27. package/dist/components/cloudPrint/api.js.map +1 -1
  28. package/dist/components/cloudPrint/index.js.map +1 -1
  29. package/dist/components/cloudPrint/printDispatch.js +7 -7
  30. package/dist/components/cloudPrint/printDispatch.js.map +1 -1
  31. package/dist/components/commonForm/addressPicker/index.js +7 -7
  32. package/dist/components/commonForm/addressPicker/index.js.map +1 -1
  33. package/dist/components/commonForm/addressPicker/style.less +10 -10
  34. package/dist/components/commonForm/autoComplete/index.js.map +1 -1
  35. package/dist/components/commonForm/autoComplete/style.less +2 -2
  36. package/dist/components/commonForm/datePicker/index.js.map +1 -1
  37. package/dist/components/commonForm/datePicker/style.less +4 -4
  38. package/dist/components/commonForm/formControl/index.js.map +1 -1
  39. package/dist/components/commonForm/index.js +4 -4
  40. package/dist/components/commonForm/index.js.map +1 -1
  41. package/dist/components/commonForm/inputNumber/index.js.map +1 -1
  42. package/dist/components/commonForm/inputNumber/style.less +10 -10
  43. package/dist/components/commonForm/radio/index.js.map +1 -1
  44. package/dist/components/commonForm/style.less +1 -1
  45. package/dist/components/deliverySearch/api.js +21 -21
  46. package/dist/components/deliverySearch/api.js.map +1 -1
  47. package/dist/components/deliverySearch/index.js +6 -6
  48. package/dist/components/deliverySearch/index.js.map +1 -1
  49. package/dist/components/deliverySearch/index.less +553 -553
  50. package/dist/components/form/index.js.map +1 -1
  51. package/dist/components/hardwareAPI/index.js.map +1 -1
  52. package/dist/components/hotKey/config.js +23 -23
  53. package/dist/components/hotKey/config.js.map +1 -1
  54. package/dist/components/hotKey/hotKeyModal.js.map +1 -1
  55. package/dist/components/hotKey/index.js +26 -26
  56. package/dist/components/hotKey/index.js.map +1 -1
  57. package/dist/components/hotKey/localConfig.js.map +1 -1
  58. package/dist/components/hotKey/style.less +96 -96
  59. package/dist/components/hotKey/utils.js.map +1 -1
  60. package/dist/components/input/index.js +6 -6
  61. package/dist/components/input/index.js.map +1 -1
  62. package/dist/components/input/scanInput.js.map +1 -1
  63. package/dist/components/input/scanInput.less +27 -27
  64. package/dist/components/input/style.less +99 -99
  65. package/dist/components/input/tplusInput/index.js +30 -30
  66. package/dist/components/input/tplusInput/index.js.map +1 -1
  67. package/dist/components/input/tplusInput/inputContent.js.map +1 -1
  68. package/dist/components/input/tplusInput/inputs.js.map +1 -1
  69. package/dist/components/input/tplusInput/style.less +132 -132
  70. package/dist/components/input/utils/index.js.map +1 -1
  71. package/dist/components/inventorySearch/api.js +58 -58
  72. package/dist/components/inventorySearch/api.js.map +1 -1
  73. package/dist/components/inventorySearch/index.js +3 -3
  74. package/dist/components/inventorySearch/index.js.map +1 -1
  75. package/dist/components/inventorySearch/index.less +119 -119
  76. package/dist/components/inventorySearch/store.js.map +1 -1
  77. package/dist/components/inventorySearch/tab.js.map +1 -1
  78. package/dist/components/keyboard/index.js.map +1 -1
  79. package/dist/components/keyboard/index.less +469 -469
  80. package/dist/components/keyboard/letterKeyboard.js +2 -2
  81. package/dist/components/keyboard/letterKeyboard.js.map +1 -1
  82. package/dist/components/keyboard/numKeyboard.js +4 -4
  83. package/dist/components/keyboard/numKeyboard.js.map +1 -1
  84. package/dist/components/keyboard/numKeyboardScan.js.map +1 -1
  85. package/dist/components/keyboard/numberButton_input.js +5 -5
  86. package/dist/components/keyboard/numberButton_input.js.map +1 -1
  87. package/dist/components/keyboard/numkeyboardPassword.js +4 -4
  88. package/dist/components/keyboard/numkeyboardPassword.js.map +1 -1
  89. package/dist/components/keyboard/onlyKeyboard.js +7 -7
  90. package/dist/components/keyboard/onlyKeyboard.js.map +1 -1
  91. package/dist/components/keyboard/onlyLetterButton.js +2 -2
  92. package/dist/components/keyboard/onlyLetterButton.js.map +1 -1
  93. package/dist/components/keyboard/onlyLetterButton2.js +2 -2
  94. package/dist/components/keyboard/onlyLetterButton2.js.map +1 -1
  95. package/dist/components/keyboard/onlyLetterButton2.less +156 -156
  96. package/dist/components/keyboard/onlyNumberButton.js +2 -2
  97. package/dist/components/keyboard/onlyNumberButton.js.map +1 -1
  98. package/dist/components/keyboard/onlyNumberButton2.js +3 -3
  99. package/dist/components/keyboard/onlyNumberButton2.js.map +1 -1
  100. package/dist/components/keyboard/textKeyboard.js.map +1 -1
  101. package/dist/components/layout/hamburger.js.map +1 -1
  102. package/dist/components/layout/index.js +10 -10
  103. package/dist/components/layout/index.js.map +1 -1
  104. package/dist/components/layout/layout.js.map +1 -1
  105. package/dist/components/layout/sider.js +12 -12
  106. package/dist/components/layout/sider.js.map +1 -1
  107. package/dist/components/layout/style.less +82 -82
  108. package/dist/components/loading/index.js +15 -15
  109. package/dist/components/loading/index.js.map +1 -1
  110. package/dist/components/loading/loadingContent.js.map +1 -1
  111. package/dist/components/loading/style.less +72 -72
  112. package/dist/components/loading/utils.js.map +1 -1
  113. package/dist/components/message/index.js +8 -8
  114. package/dist/components/message/index.js.map +1 -1
  115. package/dist/components/message/index.less +101 -101
  116. package/dist/components/modal/index.js.map +1 -1
  117. package/dist/components/modal/index.less +19 -19
  118. package/dist/components/modalVertical/index.js +7 -7
  119. package/dist/components/modalVertical/index.js.map +1 -1
  120. package/dist/components/modalVertical/style.less +60 -60
  121. package/dist/components/modalWraper/index.js +15 -15
  122. package/dist/components/modalWraper/index.js.map +1 -1
  123. package/dist/components/modalWraper/style.less +257 -257
  124. package/dist/components/modalWraper/utils.js.map +1 -1
  125. package/dist/components/notification/index.js +4 -4
  126. package/dist/components/notification/index.js.map +1 -1
  127. package/dist/components/notification/index.less +51 -51
  128. package/dist/components/overflowTip/index.js +15 -15
  129. package/dist/components/overflowTip/index.js.map +1 -1
  130. package/dist/components/overflowTip/style.less +66 -66
  131. package/dist/components/page/index.js.map +1 -1
  132. package/dist/components/page/index.less +21 -21
  133. package/dist/components/product/detail.js +7 -7
  134. package/dist/components/product/detail.js.map +1 -1
  135. package/dist/components/product/getCard.js +5 -5
  136. package/dist/components/product/getCard.js.map +1 -1
  137. package/dist/components/product/index.less +128 -128
  138. package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
  139. package/dist/components/progressState/ProgressState.js +10 -10
  140. package/dist/components/progressState/ProgressState.js.map +1 -1
  141. package/dist/components/progressState/index.js.map +1 -1
  142. package/dist/components/progressState/style.less +65 -65
  143. package/dist/components/scan/index.js.map +1 -1
  144. package/dist/components/scan/index.less +33 -33
  145. package/dist/components/select/index.js.map +1 -1
  146. package/dist/components/select/index.less +11 -11
  147. package/dist/components/settlement/asyncModal.js.map +1 -1
  148. package/dist/components/settlement/index.js.map +1 -1
  149. package/dist/components/settlement/moreCzkTable/index.js.map +1 -1
  150. package/dist/components/settlement/moreCzkTable/style.less +6 -6
  151. package/dist/components/settlement/prototypeTable/index.js.map +1 -1
  152. package/dist/components/settlement/prototypeTable/style.less +58 -58
  153. package/dist/components/settlement/prototypeTable/utils.js.map +1 -1
  154. package/dist/components/settlement/settlement.js +10 -9
  155. package/dist/components/settlement/settlement.js.map +1 -1
  156. package/dist/components/settlement/settlement.less +1686 -1686
  157. package/dist/components/settlement/settlementStore.js +60 -54
  158. package/dist/components/settlement/settlementStore.js.map +1 -1
  159. package/dist/components/settlement/utils.js.map +1 -1
  160. package/dist/components/socket/index.js +11 -11
  161. package/dist/components/socket/index.js.map +1 -1
  162. package/dist/components/spin/index.js +6 -6
  163. package/dist/components/spin/index.js.map +1 -1
  164. package/dist/components/spin/spin-style.less +436 -436
  165. package/dist/components/test/index.js +3 -3
  166. package/dist/components/test/index.js.map +1 -1
  167. package/dist/components/ticon/iconfont/demo_index.html +5248 -5248
  168. package/dist/components/ticon/iconfont/iconfont.css +895 -895
  169. package/dist/components/ticon/iconfont/iconfont.json +1549 -1549
  170. package/dist/components/ticon/iconfont/iconfont.svg +593 -593
  171. package/dist/components/ticon/index.js.map +1 -1
  172. package/dist/components/touchScroll/index.js +9 -9
  173. package/dist/components/touchScroll/index.js.map +1 -1
  174. package/dist/components/touchTable/AuthProcess.js.map +1 -1
  175. package/dist/components/touchTable/generateWater.js.map +1 -1
  176. package/dist/components/touchTable/index.js +9 -9
  177. package/dist/components/touchTable/index.js.map +1 -1
  178. package/dist/components/touchTable/index.less +376 -376
  179. package/dist/components/touchTable/utils.js.map +1 -1
  180. package/dist/demo/PopOverDemo.js.map +1 -1
  181. package/dist/index.js +7 -7
  182. package/dist/index.js.map +1 -1
  183. package/dist/util/tools.js.map +1 -1
  184. package/locales/zh/tplus-components-touch.json +1 -1
  185. package/locales/zh-CN/tplus-components-touch.json +1 -1
  186. package/mocks/memberInfo.json +79 -79
  187. package/package.json +35 -35
  188. package/tsconfig.json +26 -26
@@ -41,7 +41,7 @@ var _createClass2 = require('babel-runtime/helpers/createClass');
41
41
 
42
42
  var _createClass3 = _interopRequireDefault(_createClass2);
43
43
 
44
- var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _desc2, _value2, _class3, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _desc3, _value3, _class5, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;
44
+ var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _desc2, _value2, _class3, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _desc3, _value3, _class5, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;
45
45
 
46
46
  var _mobx = require('mobx');
47
47
 
@@ -466,6 +466,8 @@ var SettlementStore = (_class = function () {
466
466
  });
467
467
  };
468
468
 
469
+ _initDefineProp(this, 'setVoucherDate', _descriptor5, this);
470
+
469
471
  this.checkIntegralExchangeReturn = function (id) {
470
472
  return new _promise2.default(function (resolve, reject) {
471
473
  (0, _tplusApi.tApi)({ param: { refVoucherId: id } }, 'chanjet.RE.NewPos.GetNewIntegralExchange', false, false, { timeout_skip: true }).then(function (resp) {
@@ -1500,11 +1502,6 @@ var SettlementStore = (_class = function () {
1500
1502
 
1501
1503
  return save;
1502
1504
  }()
1503
- }, {
1504
- key: 'setVoucherDate',
1505
- value: function setVoucherDate() {
1506
- this.dto.VoucherDate = new Date();
1507
- }
1508
1505
  }, {
1509
1506
  key: 'setDtoID',
1510
1507
  value: function setDtoID(id) {
@@ -1854,7 +1851,16 @@ var SettlementStore = (_class = function () {
1854
1851
  }, _callee10, _this16);
1855
1852
  }));
1856
1853
  }
1857
- }), _applyDecoratedDescriptor(_class.prototype, 'addDjq', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addDjq'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeClickFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeClickFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeValue'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPayDirectly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPayDirectly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'delPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'delPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'setVoucherDate', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setVoucherDate'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'setDtoID', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setDtoID'), _class.prototype)), _class);
1854
+ }), _applyDecoratedDescriptor(_class.prototype, 'addDjq', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addDjq'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeClickFocusOnly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeClickFocusOnly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeValue'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPayDirectly', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPayDirectly'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'addPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'addPay'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'delPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'delPay'), _class.prototype), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, 'setVoucherDate', [_mobx.action], {
1855
+ enumerable: true,
1856
+ initializer: function initializer() {
1857
+ var _this17 = this;
1858
+
1859
+ return function () {
1860
+ _this17.dto.VoucherDate = new Date();
1861
+ };
1862
+ }
1863
+ }), _applyDecoratedDescriptor(_class.prototype, 'setDtoID', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setDtoID'), _class.prototype)), _class);
1858
1864
  exports.default = SettlementStore;
1859
1865
  var PayMode = exports.PayMode = (_class3 = function () {
1860
1866
  //应收
@@ -1868,19 +1874,19 @@ var PayMode = exports.PayMode = (_class3 = function () {
1868
1874
  this.onlineamount = 0;
1869
1875
  this.maxamount = 0;
1870
1876
 
1871
- _initDefineProp(this, 'currentFocus', _descriptor5, this);
1877
+ _initDefineProp(this, 'currentFocus', _descriptor6, this);
1872
1878
 
1873
- _initDefineProp(this, 'received', _descriptor6, this);
1879
+ _initDefineProp(this, 'received', _descriptor7, this);
1874
1880
 
1875
- _initDefineProp(this, 'receivable', _descriptor7, this);
1881
+ _initDefineProp(this, 'receivable', _descriptor8, this);
1876
1882
 
1877
- _initDefineProp(this, 'paymodes', _descriptor8, this);
1883
+ _initDefineProp(this, 'paymodes', _descriptor9, this);
1878
1884
 
1879
- _initDefineProp(this, 'thePaymodes', _descriptor9, this);
1885
+ _initDefineProp(this, 'thePaymodes', _descriptor10, this);
1880
1886
 
1881
- _initDefineProp(this, 'storageCardNo', _descriptor10, this);
1887
+ _initDefineProp(this, 'storageCardNo', _descriptor11, this);
1882
1888
 
1883
- _initDefineProp(this, 'balance', _descriptor11, this);
1889
+ _initDefineProp(this, 'balance', _descriptor12, this);
1884
1890
 
1885
1891
  this.currentMode = null;
1886
1892
  this.checkList = [];
@@ -1889,11 +1895,11 @@ var PayMode = exports.PayMode = (_class3 = function () {
1889
1895
  hotKey: "Ctrl+M"
1890
1896
  };
1891
1897
 
1892
- _initDefineProp(this, 'calcCheckList', _descriptor12, this);
1898
+ _initDefineProp(this, 'calcCheckList', _descriptor13, this);
1893
1899
 
1894
- _initDefineProp(this, 'setCouponNum', _descriptor13, this);
1900
+ _initDefineProp(this, 'setCouponNum', _descriptor14, this);
1895
1901
 
1896
- _initDefineProp(this, 'addDjqs', _descriptor14, this);
1902
+ _initDefineProp(this, 'addDjqs', _descriptor15, this);
1897
1903
  }
1898
1904
  // @observable store = null;
1899
1905
 
@@ -1952,7 +1958,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
1952
1958
  }, {
1953
1959
  key: 'calcDjqCheckValue',
1954
1960
  value: function calcDjqCheckValue(q1, dto, params) {
1955
- var _this17 = this;
1961
+ var _this18 = this;
1956
1962
 
1957
1963
  var useLimitPerOrder = (0, _tplusPoslogin.PosInitData)('UseLimitPerOrder');
1958
1964
  var qList = (0, _filter3.default)(this.currentMode.djqs, function (djq) {
@@ -1999,7 +2005,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
1999
2005
  if (!q1.checked) {
2000
2006
  this.checkList.forEach(function (ele, i) {
2001
2007
  if (ele.id === q1.id) {
2002
- _this17.checkList.splice(i, 1);
2008
+ _this18.checkList.splice(i, 1);
2003
2009
  }
2004
2010
  });
2005
2011
  } else {
@@ -2071,7 +2077,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2071
2077
  if (result && result.length != 0) {
2072
2078
  result.forEach(function (element, index) {
2073
2079
  var djq1 = false;
2074
- _this17.currentMode.djqs.forEach(function (djq) {
2080
+ _this18.currentMode.djqs.forEach(function (djq) {
2075
2081
  if (element.id === djq.id) {
2076
2082
  djq1 = true;
2077
2083
  }
@@ -2116,10 +2122,10 @@ var PayMode = exports.PayMode = (_class3 = function () {
2116
2122
  // couponCategoryEnum: tieredAmountResult.couponCategoryEnum,
2117
2123
  // id
2118
2124
  // })
2119
- _this17.addDjqs(couponCode, name, true, nominalAmount, doorsill, element.LastTS, false, true, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, tieredAmountResult.couponCategoryEnum, id);
2125
+ _this18.addDjqs(couponCode, name, true, nominalAmount, doorsill, element.LastTS, false, true, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, tieredAmountResult.couponCategoryEnum, id);
2120
2126
  djq1 = false;
2121
2127
  } else {
2122
- _this17.setCouponNum(element.id, tieredAmountResult.couponCategoryEnum, promoMethodEnum, nominalAmount, promoDiscount);
2128
+ _this18.setCouponNum(element.id, tieredAmountResult.couponCategoryEnum, promoMethodEnum, nominalAmount, promoDiscount);
2123
2129
  // this.currentMode.djqs[0].couponCategoryEnum = 'couponCategoryEnum';
2124
2130
  // djq1.couponCategoryEnum = element.tieredAmountResult.couponCategoryEnum
2125
2131
  }
@@ -2224,7 +2230,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2224
2230
  key: 'setPaymodes',
2225
2231
  value: function () {
2226
2232
  var _ref25 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee11(type, isIntegralExchange) {
2227
- var _this18 = this;
2233
+ var _this19 = this;
2228
2234
 
2229
2235
  var _enumController$getEn20, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
2230
2236
 
@@ -2264,7 +2270,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
2264
2270
  calDirection: mode.Currency ? mode.Currency.CalDirection.Id : "88"
2265
2271
  });
2266
2272
  });
2267
- _this18.paymodes = paymodes;
2273
+ _this19.paymodes = paymodes;
2268
2274
  //modes.QuickSettleStyles
2269
2275
  });
2270
2276
  }
@@ -2295,57 +2301,57 @@ var PayMode = exports.PayMode = (_class3 = function () {
2295
2301
  }
2296
2302
  }]);
2297
2303
  return PayMode;
2298
- }(), (_descriptor5 = _applyDecoratedDescriptor(_class3.prototype, 'currentFocus', [_mobx.observable], {
2304
+ }(), (_descriptor6 = _applyDecoratedDescriptor(_class3.prototype, 'currentFocus', [_mobx.observable], {
2299
2305
  enumerable: true,
2300
2306
  initializer: function initializer() {
2301
2307
  return "";
2302
2308
  }
2303
- }), _descriptor6 = _applyDecoratedDescriptor(_class3.prototype, 'received', [_mobx.observable], {
2309
+ }), _descriptor7 = _applyDecoratedDescriptor(_class3.prototype, 'received', [_mobx.observable], {
2304
2310
  enumerable: true,
2305
2311
  initializer: function initializer() {
2306
2312
  return 0;
2307
2313
  }
2308
- }), _descriptor7 = _applyDecoratedDescriptor(_class3.prototype, 'receivable', [_mobx.observable], {
2314
+ }), _descriptor8 = _applyDecoratedDescriptor(_class3.prototype, 'receivable', [_mobx.observable], {
2309
2315
  enumerable: true,
2310
2316
  initializer: function initializer() {
2311
2317
  return 0;
2312
2318
  }
2313
- }), _descriptor8 = _applyDecoratedDescriptor(_class3.prototype, 'paymodes', [_mobx.observable], {
2319
+ }), _descriptor9 = _applyDecoratedDescriptor(_class3.prototype, 'paymodes', [_mobx.observable], {
2314
2320
  enumerable: true,
2315
2321
  initializer: function initializer() {
2316
2322
  return [];
2317
2323
  }
2318
- }), _descriptor9 = _applyDecoratedDescriptor(_class3.prototype, 'thePaymodes', [_mobx.observable], {
2324
+ }), _descriptor10 = _applyDecoratedDescriptor(_class3.prototype, 'thePaymodes', [_mobx.observable], {
2319
2325
  enumerable: true,
2320
2326
  initializer: function initializer() {
2321
2327
  return [];
2322
2328
  }
2323
- }), _descriptor10 = _applyDecoratedDescriptor(_class3.prototype, 'storageCardNo', [_mobx.observable], {
2329
+ }), _descriptor11 = _applyDecoratedDescriptor(_class3.prototype, 'storageCardNo', [_mobx.observable], {
2324
2330
  enumerable: true,
2325
2331
  initializer: function initializer() {
2326
2332
  return null;
2327
2333
  }
2328
- }), _descriptor11 = _applyDecoratedDescriptor(_class3.prototype, 'balance', [_mobx.observable], {
2334
+ }), _descriptor12 = _applyDecoratedDescriptor(_class3.prototype, 'balance', [_mobx.observable], {
2329
2335
  enumerable: true,
2330
2336
  initializer: function initializer() {
2331
2337
  return null;
2332
2338
  }
2333
- }), _applyDecoratedDescriptor(_class3.prototype, 'clean', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clean'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clear', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clear'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcReserved', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcReserved'), _class3.prototype), _descriptor12 = _applyDecoratedDescriptor(_class3.prototype, 'calcCheckList', [_mobx.action], {
2339
+ }), _applyDecoratedDescriptor(_class3.prototype, 'clean', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clean'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clear', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clear'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcReserved', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcReserved'), _class3.prototype), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'calcCheckList', [_mobx.action], {
2334
2340
  enumerable: true,
2335
2341
  initializer: function initializer() {
2336
- var _this19 = this;
2342
+ var _this20 = this;
2337
2343
 
2338
2344
  return function () {
2339
- _this19.checkList = [];
2345
+ _this20.checkList = [];
2340
2346
  };
2341
2347
  }
2342
- }), _applyDecoratedDescriptor(_class3.prototype, 'updateMemberStorageCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateMemberStorageCardNo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'updateCardInfo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateCardInfo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
2348
+ }), _applyDecoratedDescriptor(_class3.prototype, 'updateMemberStorageCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateMemberStorageCardNo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'updateCardInfo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'updateCardInfo'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqCheckValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqCheckValue'), _class3.prototype), _descriptor14 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
2343
2349
  enumerable: true,
2344
2350
  initializer: function initializer() {
2345
- var _this20 = this;
2351
+ var _this21 = this;
2346
2352
 
2347
2353
  return function (id, couponNum, promoMethodEnum, nominalAmount, promoDiscount) {
2348
- _this20.currentMode.djqs.forEach(function (ele) {
2354
+ _this21.currentMode.djqs.forEach(function (ele) {
2349
2355
  if (ele.id === id) {
2350
2356
  promoMethodEnum == "CASH_COUPON" ? ele.amount = nominalAmount : ele.amount = promoDiscount;
2351
2357
  ele.couponCategoryEnum = couponNum;
@@ -2355,10 +2361,10 @@ var PayMode = exports.PayMode = (_class3 = function () {
2355
2361
  });
2356
2362
  };
2357
2363
  }
2358
- }), _descriptor14 = _applyDecoratedDescriptor(_class3.prototype, 'addDjqs', [_mobx.action], {
2364
+ }), _descriptor15 = _applyDecoratedDescriptor(_class3.prototype, 'addDjqs', [_mobx.action], {
2359
2365
  enumerable: true,
2360
2366
  initializer: function initializer() {
2361
- var _this21 = this;
2367
+ var _this22 = this;
2362
2368
 
2363
2369
  return function (promoCouponCode, name, IsEnable, amount, doorsill, LastTS, checked, IsRepelWithPoints, UMemberID, expired, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, couponCategoryEnum, id) {
2364
2370
  var djq = {
@@ -2380,25 +2386,25 @@ var PayMode = exports.PayMode = (_class3 = function () {
2380
2386
  couponCategoryEnum: couponCategoryEnum,
2381
2387
  id: id
2382
2388
  };
2383
- _this21.currentMode.djqs.push(djq);
2389
+ _this22.currentMode.djqs.push(djq);
2384
2390
  };
2385
2391
  }
2386
2392
  }), _applyDecoratedDescriptor(_class3.prototype, 'calcDjqValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcDjqValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'reCalculationDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'reCalculationDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'clearDjqs', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'clearDjqs'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'setCurrentModeValue', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'setCurrentModeValue'), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, 'calcMemberBalance', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class3.prototype, 'calcMemberBalance'), _class3.prototype)), _class3);
2387
2393
  var Member = exports.Member = (_class5 = function () {
2388
2394
  function Member(m) {
2389
- var _this22 = this;
2395
+ var _this23 = this;
2390
2396
 
2391
2397
  (0, _classCallCheck3.default)(this, Member);
2392
2398
 
2393
- _initDefineProp(this, 'cardNo', _descriptor15, this);
2399
+ _initDefineProp(this, 'cardNo', _descriptor16, this);
2394
2400
 
2395
- _initDefineProp(this, 'balance', _descriptor16, this);
2401
+ _initDefineProp(this, 'balance', _descriptor17, this);
2396
2402
 
2397
- _initDefineProp(this, 'exchangable', _descriptor17, this);
2403
+ _initDefineProp(this, 'exchangable', _descriptor18, this);
2398
2404
 
2399
- _initDefineProp(this, 'meStorageCardId', _descriptor18, this);
2405
+ _initDefineProp(this, 'meStorageCardId', _descriptor19, this);
2400
2406
 
2401
- _initDefineProp(this, 'storageCardNo', _descriptor19, this);
2407
+ _initDefineProp(this, 'storageCardNo', _descriptor20, this);
2402
2408
 
2403
2409
  if (m) {
2404
2410
  this.id = m.ID;
@@ -2413,11 +2419,11 @@ var Member = exports.Member = (_class5 = function () {
2413
2419
  isNewRetailBCPos = _ref26.isNewRetailBCPos;
2414
2420
 
2415
2421
  (0, _mobx.runInAction)(function () {
2416
- _this22.cardNo = m.CardCode;
2422
+ _this23.cardNo = m.CardCode;
2417
2423
  if (index >= 0) {
2418
- _this22.balance = parseFloat(m.DynamicPropertyValues[index]);
2424
+ _this23.balance = parseFloat(m.DynamicPropertyValues[index]);
2419
2425
  } else {
2420
- _this22.balance = _this22.rawbalance;
2426
+ _this23.balance = _this23.rawbalance;
2421
2427
  }
2422
2428
  });
2423
2429
  this.needPwd = m.MemberType ? m.MemberType.IsNeedPwd : false;
@@ -2439,19 +2445,19 @@ var Member = exports.Member = (_class5 = function () {
2439
2445
  }
2440
2446
  }]);
2441
2447
  return Member;
2442
- }(), (_descriptor15 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
2448
+ }(), (_descriptor16 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
2443
2449
  enumerable: true,
2444
2450
  initializer: null
2445
- }), _descriptor16 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
2451
+ }), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
2446
2452
  enumerable: true,
2447
2453
  initializer: null
2448
- }), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
2454
+ }), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
2449
2455
  enumerable: true,
2450
2456
  initializer: null
2451
- }), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
2457
+ }), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
2452
2458
  enumerable: true,
2453
2459
  initializer: null
2454
- }), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, 'storageCardNo', [_mobx.observable], {
2460
+ }), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, 'storageCardNo', [_mobx.observable], {
2455
2461
  enumerable: true,
2456
2462
  initializer: null
2457
2463
  }), _applyDecoratedDescriptor(_class5.prototype, 'setExchangable', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setExchangable'), _class5.prototype), _applyDecoratedDescriptor(_class5.prototype, 'setCardNo', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class5.prototype, 'setCardNo'), _class5.prototype)), _class5);