tplus-components-touch 3.53.4 → 3.53.7
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.
@@ -206,12 +206,9 @@ var _default = (0, _mobxReact.observer)(_class = function (_Component) {
|
|
206
206
|
_this.onChange = function (obj) {
|
207
207
|
console.log(obj);
|
208
208
|
var viewInfo = _this.props.viewInfo;
|
209
|
-
var setFieldsValue = _this.props.form.current.setFieldsValue;
|
210
|
-
|
211
209
|
var changed = {};
|
212
210
|
var FieldName = viewInfo.FieldName;
|
213
211
|
changed[FieldName] = obj.province + ',' + obj.city + ',' + obj.area;
|
214
|
-
// setFieldsValue(changed);
|
215
212
|
_this.props.changeVal && _this.props.changeVal(changed);
|
216
213
|
};
|
217
214
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["tplus-components-touch/components/commonForm/addressPicker/index.js"],"names":["GeoGqlQuery","FormItem","Item","observer","getProvinceData","props","type","dataDto","gql","result","console","log","GeoList","Geo","data","dutyProvinceData","viewInfo","defaultValue","geoCode","province","Province","city","City","area","District","dutyDefaultValue","state","setState","provinceData","onChange","findGeo","find","geo","geoName","parentGeoCode","obj","forEach","index","geoLevel","push","findOneProvinceDataToDuty","singleGeo","GeoObj","name","newFilterData","filter","map","
|
1
|
+
{"version":3,"sources":["tplus-components-touch/components/commonForm/addressPicker/index.js"],"names":["GeoGqlQuery","FormItem","Item","observer","getProvinceData","props","type","dataDto","gql","result","console","log","GeoList","Geo","data","dutyProvinceData","viewInfo","defaultValue","geoCode","province","Province","city","City","area","District","dutyDefaultValue","state","setState","provinceData","onChange","findGeo","find","geo","geoName","parentGeoCode","obj","forEach","index","geoLevel","push","findOneProvinceDataToDuty","singleGeo","GeoObj","name","newFilterData","filter","map","changed","FieldName","changeVal","AllowNone","Title","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAA;;;;;;;;;;;;AAQA;;;;AACA;;AAEA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KAAKX,KAAL,CAAWW,QAA1B;AACA,mBAAO;AAAC,wBAAD;AAAA,kBAAU,WAAU,WAApB,EAAgC,OAAO;AAAA;AAAA;AAAO,yBAACA,SAASkC,SAAV,GAAsB;AAAA;AAAA,8BAAM,WAAU,aAAhB;AAAA;AAAA,yBAAtB,GAAgE,IAAvE;AAA6ElC,iCAASmC;AAAtF,qBAAvC;AAEC,qBAAKzB,KAAL,CAAWE,YAAX,KAA4B,IAA5B,GAAiC,8BAAC,sBAAD,IAAc,cAAiB,KAAKF,KAAL,CAAWE,YAA1C,EAAwD,KAAI,MAA5D,EAAmE,UAAU,KAAKC,QAAlF,EAA4F,cAAc,KAAKH,KAAL,CAAWT,YAArH,GAAjC,GAAuK;AAFxK,aAAP;AAKH;;;EAhHwBmC,gB","file":"index.js","sourcesContent":["/*\n * @Descripttion:\n * @version:\n * @Author: chenlongad\n * @Date: 2021-01-06 09:40:16\n * @LastEditors: chenlongad\n * @LastEditTime: 2022-05-13 14:17:23\n */\nimport React, { Component } from 'react';\nimport { observer } from 'mobx-react';\nimport { Form } from 'antd';\nimport ACCitySelect from '../../acCitySelect';\nimport { gqlQuery } from 'tplus-api';\nimport './style.less'\n\nlet GeoGqlQuery = null\n\nconst FormItem = Form.Item;\n@observer\nexport default class extends Component {\n\n constructor() {\n super();\n this.state = {\n defaultValue: { province: '北京市', city: '北京市', area: '东城区', geoCode: '110101' },\n provinceData:null\n }\n\n }\n componentWillMount() {\n this.getProvinceData();\n }\n componentDidMount() {\n }\n\n getProvinceData = async () => {\n const { type, dataDto } = this.props;\n const gql = `{\n Geo {\n geoCode\n geoName\n geoLevel\n parentGeoCode\n }\n }`\n const result = GeoGqlQuery ? GeoGqlQuery : await gqlQuery(gql);\n if(result) GeoGqlQuery = result;\n console.log(result);\n const GeoList = result.Geo;\n let data = this.dutyProvinceData(GeoList);\n console.log(data);\n let viewInfo = this.props.viewInfo;\n let { defaultValue } = viewInfo\n const { geoCode } = defaultValue;\n if (type == 'buyer'){\n defaultValue = {\n province: dataDto.Province || defaultValue.province,\n city: dataDto.City || defaultValue.city,\n area: dataDto.District || defaultValue.area,\n }\n } else {\n if(geoCode){\n defaultValue = this.dutyDefaultValue(result.Geo,geoCode);\n }else{\n defaultValue = this.state.defaultValue;\n }\n }\n this.setState({\n defaultValue,\n provinceData:data\n }, () => {\n this.onChange({\n ...this.state.defaultValue\n })\n })\n }\n dutyDefaultValue = (GeoList,geoCode,defaultValue) => {\n let findGeo = GeoList.find((geo)=>geo.geoCode == geoCode);\n if(findGeo){\n if(!defaultValue){\n defaultValue = {area:findGeo.geoName}\n return this.dutyDefaultValue(GeoList,findGeo.parentGeoCode,defaultValue);\n }else{\n if(!defaultValue.city){\n defaultValue.city = findGeo.geoName\n return this.dutyDefaultValue(GeoList,findGeo.parentGeoCode,defaultValue);\n }else{\n defaultValue.province = findGeo.geoName\n return defaultValue;\n }\n }\n }\n }\n\n dutyProvinceData = (GeoList) => {\n let obj = [];\n GeoList.forEach((geo,index) => {\n if (geo.geoLevel === 1) {\n obj.push(this.findOneProvinceDataToDuty(GeoList,index))\n }\n })\n return obj\n }\n\n findOneProvinceDataToDuty = (GeoList, index) => {\n const singleGeo = GeoList[index];\n let GeoObj = {\n name: singleGeo.geoName,\n city: []\n };\n let newFilterData = GeoList.filter(Geo => Geo.parentGeoCode == singleGeo.geoCode)\n GeoObj.city = newFilterData.map(Geo =>{return { name:Geo.geoName,area:[...GeoList.filter(geo => geo.parentGeoCode == Geo.geoCode).map(geo=>geo.geoName)]}});\n return GeoObj\n }\n\n onChange = (obj) => {\n console.log(obj);\n let viewInfo = this.props.viewInfo;\n const changed = {}\n const FieldName = viewInfo.FieldName;\n changed[FieldName] = `${obj.province},${obj.city},${obj.area}`;\n this.props.changeVal && this.props.changeVal(changed);\n }\n\n render() {\n let viewInfo = this.props.viewInfo;\n return <FormItem className='time flex' label={<span>{!viewInfo.AllowNone ? <span className=\"error-color\">* </span> : null}{viewInfo.Title}</span>}>\n {\n this.state.provinceData !== null?<ACCitySelect provinceData = { this.state.provinceData} ref='city' onChange={this.onChange} defaultValue={this.state.defaultValue} />:null\n }\n </FormItem>\n }\n}\n"]}
|
@@ -45,7 +45,7 @@ var _createClass2 = require('babel-runtime/helpers/createClass');
|
|
45
45
|
|
46
46
|
var _createClass3 = _interopRequireDefault(_createClass2);
|
47
47
|
|
48
|
-
var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6,
|
48
|
+
var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _class2, _temp, _initialiseProps, _desc2, _value2, _class3, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _desc3, _value3, _class5, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21;
|
49
49
|
|
50
50
|
var _mobx = require('mobx');
|
51
51
|
|
@@ -1696,20 +1696,21 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
1696
1696
|
_initDefineProp(this, 'newStyle', _descriptor, this);
|
1697
1697
|
|
1698
1698
|
this.isFull = true;
|
1699
|
+
this.isCanSettleOnQuickKey = true;
|
1699
1700
|
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1701
|
+
this.setCanSettleOnQuickKey = function (value) {
|
1702
|
+
_this13.isCanSettleOnQuickKey = value;
|
1703
|
+
};
|
1703
1704
|
|
1704
|
-
_initDefineProp(this, 'setNewStyle',
|
1705
|
+
_initDefineProp(this, 'setNewStyle', _descriptor2, this);
|
1705
1706
|
|
1706
|
-
_initDefineProp(this, 'queryPwd',
|
1707
|
+
_initDefineProp(this, 'queryPwd', _descriptor3, this);
|
1707
1708
|
|
1708
|
-
_initDefineProp(this, 'updateMemberInfo',
|
1709
|
+
_initDefineProp(this, 'updateMemberInfo', _descriptor4, this);
|
1709
1710
|
|
1710
|
-
_initDefineProp(this, 'updateCurrentMode',
|
1711
|
+
_initDefineProp(this, 'updateCurrentMode', _descriptor5, this);
|
1711
1712
|
|
1712
|
-
_initDefineProp(this, 'updateCardInfo',
|
1713
|
+
_initDefineProp(this, 'updateCardInfo', _descriptor6, this);
|
1713
1714
|
|
1714
1715
|
this.handleCzkData = function (m) {
|
1715
1716
|
if (!m || !m.StorageCardNo) {
|
@@ -2027,34 +2028,20 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2027
2028
|
initializer: function initializer() {
|
2028
2029
|
return true;
|
2029
2030
|
}
|
2030
|
-
}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, '
|
2031
|
-
enumerable: true,
|
2032
|
-
initializer: function initializer() {
|
2033
|
-
return true;
|
2034
|
-
}
|
2035
|
-
}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, 'setCanSettleOnQuickKey', [_mobx.action], {
|
2031
|
+
}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, 'setNewStyle', [_mobx.action], {
|
2036
2032
|
enumerable: true,
|
2037
2033
|
initializer: function initializer() {
|
2038
2034
|
var _this14 = this;
|
2039
2035
|
|
2040
|
-
return function (value) {
|
2041
|
-
_this14.isCanSettleOnQuickKey = value;
|
2042
|
-
};
|
2043
|
-
}
|
2044
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, 'setNewStyle', [_mobx.action], {
|
2045
|
-
enumerable: true,
|
2046
|
-
initializer: function initializer() {
|
2047
|
-
var _this15 = this;
|
2048
|
-
|
2049
2036
|
return function () {
|
2050
2037
|
var voucherDefaultPosMode = _mutantsMicrofx.localStore && _mutantsMicrofx.localStore.get('voucherDefaultPosMode') || 'touch';
|
2051
|
-
|
2038
|
+
_this14.newStyle = voucherDefaultPosMode == 'voucher';
|
2052
2039
|
};
|
2053
2040
|
}
|
2054
|
-
}),
|
2041
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, 'queryPwd', [_mobx.action], {
|
2055
2042
|
enumerable: true,
|
2056
2043
|
initializer: function initializer() {
|
2057
|
-
var
|
2044
|
+
var _this15 = this;
|
2058
2045
|
|
2059
2046
|
return function (newPass, newPassConfirm) {
|
2060
2047
|
if (!newPass || !newPassConfirm) {
|
@@ -2064,9 +2051,9 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2064
2051
|
return _message2.default.warn('您两次输入的密码不一致');
|
2065
2052
|
}
|
2066
2053
|
var idstore = (0, _tplusPoslogin.PosInitData)('storeID');
|
2067
|
-
return
|
2054
|
+
return _this15.SettlementApi.setWalletPayPassword({
|
2068
2055
|
Idstore: idstore,
|
2069
|
-
meMemberId:
|
2056
|
+
meMemberId: _this15.paymode.currentMode.memberId,
|
2070
2057
|
oldPassword: null,
|
2071
2058
|
newPassword: _tplusApi.User.pwdEncrypt(newPassConfirm),
|
2072
2059
|
dataSource: "POS"
|
@@ -2077,10 +2064,10 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2077
2064
|
});
|
2078
2065
|
};
|
2079
2066
|
}
|
2080
|
-
}), _applyDecoratedDescriptor(_class.prototype, 'initByOriginReturn', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'initByOriginReturn'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'quickSettle', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'quickSettle'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusAndAddPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusAndAddPay'), _class.prototype),
|
2067
|
+
}), _applyDecoratedDescriptor(_class.prototype, 'initByOriginReturn', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'initByOriginReturn'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'quickSettle', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'quickSettle'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'changeFocusAndAddPay', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'changeFocusAndAddPay'), _class.prototype), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, 'updateMemberInfo', [_mobx.action], {
|
2081
2068
|
enumerable: true,
|
2082
2069
|
initializer: function initializer() {
|
2083
|
-
var
|
2070
|
+
var _this16 = this;
|
2084
2071
|
|
2085
2072
|
return function () {
|
2086
2073
|
var _ref26 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee12(_this) {
|
@@ -2090,9 +2077,9 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2090
2077
|
while (1) {
|
2091
2078
|
switch (_context12.prev = _context12.next) {
|
2092
2079
|
case 0:
|
2093
|
-
_getLoginInfo4 =
|
2080
|
+
_getLoginInfo4 = _this16.getLoginInfo(), IdStore = _getLoginInfo4.IdStore, StoreCode = _getLoginInfo4.StoreCode;
|
2094
2081
|
_context12.next = 3;
|
2095
|
-
return
|
2082
|
+
return _this16.SettlementApi.GetUmemberDTO({ Idmember: _this16.member.ID, IdStore: IdStore, StoreCode: StoreCode });
|
2096
2083
|
|
2097
2084
|
case 3:
|
2098
2085
|
resp = _context12.sent;
|
@@ -2106,7 +2093,7 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2106
2093
|
return _context12.stop();
|
2107
2094
|
}
|
2108
2095
|
}
|
2109
|
-
}, _callee12,
|
2096
|
+
}, _callee12, _this16);
|
2110
2097
|
}));
|
2111
2098
|
|
2112
2099
|
return function (_x10) {
|
@@ -2114,10 +2101,10 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2114
2101
|
};
|
2115
2102
|
}();
|
2116
2103
|
}
|
2117
|
-
}),
|
2104
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, 'updateCurrentMode', [_mobx.action], {
|
2118
2105
|
enumerable: true,
|
2119
2106
|
initializer: function initializer() {
|
2120
|
-
var
|
2107
|
+
var _this17 = this;
|
2121
2108
|
|
2122
2109
|
return function () {
|
2123
2110
|
var _ref27 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee13(memberId, returnType) {
|
@@ -2130,7 +2117,7 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2130
2117
|
// 查看会员卡信息
|
2131
2118
|
|
2132
2119
|
_context13.next = 3;
|
2133
|
-
return
|
2120
|
+
return _this17.SettlementApi.getCardInfoByMemberId(memberId, isOnlyEnabled);
|
2134
2121
|
|
2135
2122
|
case 3:
|
2136
2123
|
result = _context13.sent;
|
@@ -2145,7 +2132,7 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2145
2132
|
break;
|
2146
2133
|
}
|
2147
2134
|
|
2148
|
-
|
2135
|
+
_this17.paymode.updateCardInfo(result.data[0]);
|
2149
2136
|
return _context13.abrupt('return', result.data);
|
2150
2137
|
|
2151
2138
|
case 10:
|
@@ -2154,7 +2141,7 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2154
2141
|
break;
|
2155
2142
|
}
|
2156
2143
|
|
2157
|
-
|
2144
|
+
_this17.paymode.updateCardInfo(result.data[0]);
|
2158
2145
|
return _context13.abrupt('return', result.data);
|
2159
2146
|
|
2160
2147
|
case 15:
|
@@ -2174,7 +2161,7 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2174
2161
|
return _context13.stop();
|
2175
2162
|
}
|
2176
2163
|
}
|
2177
|
-
}, _callee13,
|
2164
|
+
}, _callee13, _this17);
|
2178
2165
|
}));
|
2179
2166
|
|
2180
2167
|
return function (_x11, _x12) {
|
@@ -2182,10 +2169,10 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2182
2169
|
};
|
2183
2170
|
}();
|
2184
2171
|
}
|
2185
|
-
}),
|
2172
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, 'updateCardInfo', [_mobx.action], {
|
2186
2173
|
enumerable: true,
|
2187
2174
|
initializer: function initializer() {
|
2188
|
-
var
|
2175
|
+
var _this18 = this;
|
2189
2176
|
|
2190
2177
|
return (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee14() {
|
2191
2178
|
var ctMode, cardNo, result;
|
@@ -2193,22 +2180,22 @@ var SettlementStore = (_class = (_temp = _class2 = function () {
|
|
2193
2180
|
while (1) {
|
2194
2181
|
switch (_context14.prev = _context14.next) {
|
2195
2182
|
case 0:
|
2196
|
-
ctMode =
|
2183
|
+
ctMode = _this18.paymode && _this18.paymode.currentMode;
|
2197
2184
|
cardNo = ctMode && ctMode.storageCardNo;
|
2198
2185
|
_context14.next = 4;
|
2199
|
-
return
|
2186
|
+
return _this18.SettlementApi.getCardInfoByCardNo(cardNo);
|
2200
2187
|
|
2201
2188
|
case 4:
|
2202
2189
|
result = _context14.sent;
|
2203
2190
|
|
2204
|
-
|
2191
|
+
_this18.paymode.updateCardInfo(result && result.data);
|
2205
2192
|
|
2206
2193
|
case 6:
|
2207
2194
|
case 'end':
|
2208
2195
|
return _context14.stop();
|
2209
2196
|
}
|
2210
2197
|
}
|
2211
|
-
}, _callee14,
|
2198
|
+
}, _callee14, _this18);
|
2212
2199
|
}));
|
2213
2200
|
}
|
2214
2201
|
}), _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, 'setDtoID', [_mobx.action], (0, _getOwnPropertyDescriptor2.default)(_class.prototype, 'setDtoID'), _class.prototype)), _class);
|
@@ -2225,23 +2212,23 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2225
2212
|
this.onlineamount = 0;
|
2226
2213
|
this.maxamount = 0;
|
2227
2214
|
|
2228
|
-
_initDefineProp(this, 'currentFocus',
|
2215
|
+
_initDefineProp(this, 'currentFocus', _descriptor7, this);
|
2229
2216
|
|
2230
|
-
_initDefineProp(this, 'received',
|
2217
|
+
_initDefineProp(this, 'received', _descriptor8, this);
|
2231
2218
|
|
2232
|
-
_initDefineProp(this, 'receivable',
|
2219
|
+
_initDefineProp(this, 'receivable', _descriptor9, this);
|
2233
2220
|
|
2234
|
-
_initDefineProp(this, 'paymodes',
|
2221
|
+
_initDefineProp(this, 'paymodes', _descriptor10, this);
|
2235
2222
|
|
2236
|
-
_initDefineProp(this, 'thePaymodes',
|
2223
|
+
_initDefineProp(this, 'thePaymodes', _descriptor11, this);
|
2237
2224
|
|
2238
2225
|
this.bookMaxValue = 0;
|
2239
2226
|
this.isNotFullBook = false;
|
2240
2227
|
this.isNotFullOnlyBook = false;
|
2241
2228
|
|
2242
|
-
_initDefineProp(this, 'storageCardNo',
|
2229
|
+
_initDefineProp(this, 'storageCardNo', _descriptor12, this);
|
2243
2230
|
|
2244
|
-
_initDefineProp(this, 'balance',
|
2231
|
+
_initDefineProp(this, 'balance', _descriptor13, this);
|
2245
2232
|
|
2246
2233
|
this.currentMode = null;
|
2247
2234
|
this.checkList = [];
|
@@ -2250,11 +2237,11 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2250
2237
|
hotKey: "Ctrl+M"
|
2251
2238
|
};
|
2252
2239
|
|
2253
|
-
_initDefineProp(this, 'calcCheckList',
|
2240
|
+
_initDefineProp(this, 'calcCheckList', _descriptor14, this);
|
2254
2241
|
|
2255
|
-
_initDefineProp(this, 'setCouponNum',
|
2242
|
+
_initDefineProp(this, 'setCouponNum', _descriptor15, this);
|
2256
2243
|
|
2257
|
-
_initDefineProp(this, 'addDjqs',
|
2244
|
+
_initDefineProp(this, 'addDjqs', _descriptor16, this);
|
2258
2245
|
}
|
2259
2246
|
// @observable store = null;
|
2260
2247
|
//只是预订场景下,现场提货,且选项设置订金比例非100%时 为 true
|
@@ -2327,7 +2314,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2327
2314
|
}, {
|
2328
2315
|
key: 'calcDjqCheckValue',
|
2329
2316
|
value: function calcDjqCheckValue(q1, dto, params) {
|
2330
|
-
var
|
2317
|
+
var _this19 = this;
|
2331
2318
|
|
2332
2319
|
var useLimitPerOrder = (0, _tplusPoslogin.PosInitData)('UseLimitPerOrder');
|
2333
2320
|
var qList = (0, _filter3.default)(this.currentMode.djqs, function (djq) {
|
@@ -2371,7 +2358,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2371
2358
|
if (!q1.checked) {
|
2372
2359
|
this.checkList.forEach(function (ele, i) {
|
2373
2360
|
if (ele.id === q1.id) {
|
2374
|
-
|
2361
|
+
_this19.checkList.splice(i, 1);
|
2375
2362
|
}
|
2376
2363
|
});
|
2377
2364
|
} else {
|
@@ -2443,7 +2430,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2443
2430
|
if (result && result.length != 0) {
|
2444
2431
|
result.forEach(function (element, index) {
|
2445
2432
|
var djq1 = false;
|
2446
|
-
|
2433
|
+
_this19.currentMode.djqs.forEach(function (djq) {
|
2447
2434
|
if (element.id === djq.id) {
|
2448
2435
|
djq1 = true;
|
2449
2436
|
}
|
@@ -2488,10 +2475,10 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2488
2475
|
// couponCategoryEnum: tieredAmountResult.couponCategoryEnum,
|
2489
2476
|
// id
|
2490
2477
|
// })
|
2491
|
-
|
2478
|
+
_this19.addDjqs(couponCode, name, true, nominalAmount, promoDiscount, doorsill, element.LastTS, false, true, dto.Idmember, dateMount, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, tieredAmountResult.couponCategoryEnum, id);
|
2492
2479
|
djq1 = false;
|
2493
2480
|
} else {
|
2494
|
-
|
2481
|
+
_this19.setCouponNum(element.id, couponCategoryEnum, promoMethodEnum, nominalAmount, promoDiscount);
|
2495
2482
|
// this.currentMode.djqs[0].couponCategoryEnum = 'couponCategoryEnum';
|
2496
2483
|
// djq1.couponCategoryEnum = element.tieredAmountResult.couponCategoryEnum
|
2497
2484
|
}
|
@@ -2606,7 +2593,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2606
2593
|
key: 'setPaymodes',
|
2607
2594
|
value: function () {
|
2608
2595
|
var _ref30 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee15(type, isIntegralExchange) {
|
2609
|
-
var
|
2596
|
+
var _this20 = this;
|
2610
2597
|
|
2611
2598
|
var _ref31, isHorizontalPad, isHorizontalSunMi, isMobileEnvironment, _enumController$getEn21, settleStyleType, PayStyle, memberStoreCode, settlementCode, param, modes;
|
2612
2599
|
|
@@ -2654,7 +2641,7 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2654
2641
|
thridPayment: mode.ThirdPaymentInfo
|
2655
2642
|
});
|
2656
2643
|
});
|
2657
|
-
|
2644
|
+
_this20.paymodes = paymodes;
|
2658
2645
|
});
|
2659
2646
|
}
|
2660
2647
|
|
@@ -2684,57 +2671,57 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2684
2671
|
}
|
2685
2672
|
}]);
|
2686
2673
|
return PayMode;
|
2687
|
-
}(), (
|
2674
|
+
}(), (_descriptor7 = _applyDecoratedDescriptor(_class3.prototype, 'currentFocus', [_mobx.observable], {
|
2688
2675
|
enumerable: true,
|
2689
2676
|
initializer: function initializer() {
|
2690
2677
|
return "";
|
2691
2678
|
}
|
2692
|
-
}),
|
2679
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class3.prototype, 'received', [_mobx.observable], {
|
2693
2680
|
enumerable: true,
|
2694
2681
|
initializer: function initializer() {
|
2695
2682
|
return 0;
|
2696
2683
|
}
|
2697
|
-
}),
|
2684
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class3.prototype, 'receivable', [_mobx.observable], {
|
2698
2685
|
enumerable: true,
|
2699
2686
|
initializer: function initializer() {
|
2700
2687
|
return 0;
|
2701
2688
|
}
|
2702
|
-
}),
|
2689
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class3.prototype, 'paymodes', [_mobx.observable], {
|
2703
2690
|
enumerable: true,
|
2704
2691
|
initializer: function initializer() {
|
2705
2692
|
return [];
|
2706
2693
|
}
|
2707
|
-
}),
|
2694
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class3.prototype, 'thePaymodes', [_mobx.observable], {
|
2708
2695
|
enumerable: true,
|
2709
2696
|
initializer: function initializer() {
|
2710
2697
|
return [];
|
2711
2698
|
}
|
2712
|
-
}),
|
2699
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class3.prototype, 'storageCardNo', [_mobx.observable], {
|
2713
2700
|
enumerable: true,
|
2714
2701
|
initializer: function initializer() {
|
2715
2702
|
return null;
|
2716
2703
|
}
|
2717
|
-
}),
|
2704
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class3.prototype, 'balance', [_mobx.observable], {
|
2718
2705
|
enumerable: true,
|
2719
2706
|
initializer: function initializer() {
|
2720
2707
|
return null;
|
2721
2708
|
}
|
2722
|
-
}), _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),
|
2709
|
+
}), _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), _descriptor14 = _applyDecoratedDescriptor(_class3.prototype, 'calcCheckList', [_mobx.action], {
|
2723
2710
|
enumerable: true,
|
2724
2711
|
initializer: function initializer() {
|
2725
|
-
var
|
2712
|
+
var _this21 = this;
|
2726
2713
|
|
2727
2714
|
return function () {
|
2728
|
-
|
2715
|
+
_this21.checkList = [];
|
2729
2716
|
};
|
2730
2717
|
}
|
2731
|
-
}), _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),
|
2718
|
+
}), _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), _descriptor15 = _applyDecoratedDescriptor(_class3.prototype, 'setCouponNum', [_mobx.action], {
|
2732
2719
|
enumerable: true,
|
2733
2720
|
initializer: function initializer() {
|
2734
|
-
var
|
2721
|
+
var _this22 = this;
|
2735
2722
|
|
2736
2723
|
return function (id, couponNum, promoMethodEnum, nominalAmount, promoDiscount) {
|
2737
|
-
|
2724
|
+
_this22.currentMode.djqs.forEach(function (ele) {
|
2738
2725
|
if (ele.id === id) {
|
2739
2726
|
ele.amount = promoDiscount;
|
2740
2727
|
promoMethodEnum == "CASH_COUPON" && (ele.nominalAmount = nominalAmount);
|
@@ -2745,10 +2732,10 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2745
2732
|
});
|
2746
2733
|
};
|
2747
2734
|
}
|
2748
|
-
}),
|
2735
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class3.prototype, 'addDjqs', [_mobx.action], {
|
2749
2736
|
enumerable: true,
|
2750
2737
|
initializer: function initializer() {
|
2751
|
-
var
|
2738
|
+
var _this23 = this;
|
2752
2739
|
|
2753
2740
|
return function (promoCouponCode, name, IsEnable, nominalAmount, amount, doorsill, LastTS, checked, IsRepelWithPoints, UMemberID, expired, displayText, promoMethodEnum, discountPct, promoId, promoRuleId, couponCategoryEnum, id) {
|
2754
2741
|
var djq = {
|
@@ -2771,25 +2758,25 @@ var PayMode = exports.PayMode = (_class3 = function () {
|
|
2771
2758
|
couponCategoryEnum: couponCategoryEnum,
|
2772
2759
|
id: id
|
2773
2760
|
};
|
2774
|
-
|
2761
|
+
_this23.currentMode.djqs.push(djq);
|
2775
2762
|
};
|
2776
2763
|
}
|
2777
2764
|
}), _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);
|
2778
2765
|
var Member = exports.Member = (_class5 = function () {
|
2779
2766
|
function Member(m) {
|
2780
|
-
var
|
2767
|
+
var _this24 = this;
|
2781
2768
|
|
2782
2769
|
(0, _classCallCheck3.default)(this, Member);
|
2783
2770
|
|
2784
|
-
_initDefineProp(this, 'cardNo',
|
2771
|
+
_initDefineProp(this, 'cardNo', _descriptor17, this);
|
2785
2772
|
|
2786
|
-
_initDefineProp(this, 'balance',
|
2773
|
+
_initDefineProp(this, 'balance', _descriptor18, this);
|
2787
2774
|
|
2788
|
-
_initDefineProp(this, 'exchangable',
|
2775
|
+
_initDefineProp(this, 'exchangable', _descriptor19, this);
|
2789
2776
|
|
2790
|
-
_initDefineProp(this, 'meStorageCardId',
|
2777
|
+
_initDefineProp(this, 'meStorageCardId', _descriptor20, this);
|
2791
2778
|
|
2792
|
-
_initDefineProp(this, 'storageCardNo',
|
2779
|
+
_initDefineProp(this, 'storageCardNo', _descriptor21, this);
|
2793
2780
|
|
2794
2781
|
if (m) {
|
2795
2782
|
this.id = m.ID;
|
@@ -2800,11 +2787,11 @@ var Member = exports.Member = (_class5 = function () {
|
|
2800
2787
|
return key == 'canusedbalancestorage';
|
2801
2788
|
});
|
2802
2789
|
(0, _mobx.runInAction)(function () {
|
2803
|
-
|
2790
|
+
_this24.cardNo = m.CardCode;
|
2804
2791
|
if (index >= 0) {
|
2805
|
-
|
2792
|
+
_this24.balance = parseFloat(m.DynamicPropertyValues[index]);
|
2806
2793
|
} else {
|
2807
|
-
|
2794
|
+
_this24.balance = _this24.rawbalance;
|
2808
2795
|
}
|
2809
2796
|
});
|
2810
2797
|
this.needPwd = m.MemberType ? m.MemberType.IsNeedPwd : false;
|
@@ -2826,19 +2813,19 @@ var Member = exports.Member = (_class5 = function () {
|
|
2826
2813
|
}
|
2827
2814
|
}]);
|
2828
2815
|
return Member;
|
2829
|
-
}(), (
|
2816
|
+
}(), (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, 'cardNo', [_mobx.observable], {
|
2830
2817
|
enumerable: true,
|
2831
2818
|
initializer: null
|
2832
|
-
}),
|
2819
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, 'balance', [_mobx.observable], {
|
2833
2820
|
enumerable: true,
|
2834
2821
|
initializer: null
|
2835
|
-
}),
|
2822
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, 'exchangable', [_mobx.observable], {
|
2836
2823
|
enumerable: true,
|
2837
2824
|
initializer: null
|
2838
|
-
}),
|
2825
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, 'meStorageCardId', [_mobx.observable], {
|
2839
2826
|
enumerable: true,
|
2840
2827
|
initializer: null
|
2841
|
-
}),
|
2828
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, 'storageCardNo', [_mobx.observable], {
|
2842
2829
|
enumerable: true,
|
2843
2830
|
initializer: null
|
2844
2831
|
}), _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);
|