tplus-portaltouch 3.27.7 → 3.27.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/dutyandsettle/dutysettlehistory.js +10 -38
- package/dist/components/dutyandsettle/dutysettlehistory.js.map +1 -1
- package/dist/components/header/index.js +5 -0
- package/dist/components/header/index.js.map +1 -1
- package/dist/components/header/themeModal.js +31 -2
- package/dist/components/header/themeModal.js.map +1 -1
- package/dist/pages/Portalbc/data.js +64 -1
- package/dist/pages/Portalbc/data.js.map +1 -1
- package/dist/pages/Portalbc/index.js +17 -11
- package/dist/pages/Portalbc/index.js.map +1 -1
- package/dist/pages/dutyandsettle/offDuty.js +49 -76
- package/dist/pages/dutyandsettle/offDuty.js.map +1 -1
- package/package.json +1 -1
|
@@ -39,7 +39,7 @@ var _class; /*
|
|
|
39
39
|
* @Author: chenlongad
|
|
40
40
|
* @Date: 2021-05-12 14:40:27
|
|
41
41
|
* @LastEditors: chenlongad
|
|
42
|
-
* @LastEditTime: 2021-
|
|
42
|
+
* @LastEditTime: 2021-11-15 11:13:39
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
45
|
/**打印 */
|
|
@@ -100,11 +100,11 @@ var _default = (0, _mobxReact.observer)(_class = function (_Component) {
|
|
|
100
100
|
_this.props.onAfterPrint && _this.props.onAfterPrint();
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
_this.onPrint = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function
|
|
103
|
+
_this.onPrint = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee() {
|
|
104
104
|
var id, curIndex, isShift;
|
|
105
|
-
return _regenerator2.default.wrap(function
|
|
105
|
+
return _regenerator2.default.wrap(function _callee$(_context) {
|
|
106
106
|
while (1) {
|
|
107
|
-
switch (
|
|
107
|
+
switch (_context.prev = _context.next) {
|
|
108
108
|
case 0:
|
|
109
109
|
// 马坚 Add start
|
|
110
110
|
id = null;
|
|
@@ -117,52 +117,24 @@ var _default = (0, _mobxReact.observer)(_class = function (_Component) {
|
|
|
117
117
|
// 打印
|
|
118
118
|
|
|
119
119
|
console.log("打印开始:ID:" + id);
|
|
120
|
-
(0, _tplusComponentsTouch.printDispatch)(isShift ? _tplusComponentsTouch.DoNameList.DO_DUTY_PRINT : _tplusComponentsTouch.DoNameList.DO_DIALY_PRINT, id
|
|
121
|
-
electronPrint: function () {
|
|
122
|
-
var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee() {
|
|
123
|
-
return _regenerator2.default.wrap(function _callee$(_context) {
|
|
124
|
-
while (1) {
|
|
125
|
-
switch (_context.prev = _context.next) {
|
|
126
|
-
case 0:
|
|
127
|
-
// 桌面端直接打印
|
|
128
|
-
console.log("桌面" + isShift + "历史打印后事件开始执行");
|
|
129
|
-
_context.next = 3;
|
|
130
|
-
return _PrintProcess.PrintProcess.execute(id, isShift);
|
|
131
|
-
|
|
132
|
-
case 3:
|
|
133
|
-
console.log("桌面" + isShift + "历史打印后事件执行结束");
|
|
134
|
-
_this.props.onAfterPrint && _this.props.onAfterPrint();
|
|
135
|
-
|
|
136
|
-
case 5:
|
|
137
|
-
case 'end':
|
|
138
|
-
return _context.stop();
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}, _callee, _this2);
|
|
142
|
-
}));
|
|
143
|
-
|
|
144
|
-
return function electronPrint() {
|
|
145
|
-
return _ref2.apply(this, arguments);
|
|
146
|
-
};
|
|
147
|
-
}()
|
|
148
|
-
}).then(function () {
|
|
120
|
+
(0, _tplusComponentsTouch.printDispatch)(isShift ? _tplusComponentsTouch.DoNameList.DO_DUTY_PRINT : _tplusComponentsTouch.DoNameList.DO_DIALY_PRINT, id).then(function () {
|
|
149
121
|
_this.props.onAfterPrint && _this.props.onAfterPrint();
|
|
150
122
|
});
|
|
151
123
|
|
|
152
124
|
case 6:
|
|
153
125
|
case 'end':
|
|
154
|
-
return
|
|
126
|
+
return _context.stop();
|
|
155
127
|
}
|
|
156
128
|
}
|
|
157
|
-
},
|
|
129
|
+
}, _callee, _this2);
|
|
158
130
|
}));
|
|
159
131
|
|
|
160
132
|
_this.store = new _billHistoryStore2.default();
|
|
161
133
|
_this.state = { date: (0, _moment2.default)() };
|
|
162
134
|
|
|
163
|
-
var
|
|
164
|
-
isHorizontalPad =
|
|
165
|
-
isHorizontalSunMi =
|
|
135
|
+
var _ref2 = _mutantsUtil.platform || {},
|
|
136
|
+
isHorizontalPad = _ref2.isHorizontalPad,
|
|
137
|
+
isHorizontalSunMi = _ref2.isHorizontalSunMi;
|
|
166
138
|
|
|
167
139
|
_this.isMobileEnvironment = !!isHorizontalPad || !!isHorizontalSunMi;
|
|
168
140
|
_this.isHorizontalPad = !!isHorizontalPad;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tplus-portaltouch/components/dutyandsettle/dutysettlehistory.js"],"names":["observer","props","onChange","date","dataString","setTimeout","store","getVouchers","format","DateFormat","type","setState","onCancel","onAfterPrint","onPrint","id","curIndex","vouchers","ID","isShift","console","log","DoNameList","DO_DUTY_PRINT","DO_DIALY_PRINT","
|
|
1
|
+
{"version":3,"sources":["tplus-portaltouch/components/dutyandsettle/dutysettlehistory.js"],"names":["observer","props","onChange","date","dataString","setTimeout","store","getVouchers","format","DateFormat","type","setState","onCancel","onAfterPrint","onPrint","id","curIndex","vouchers","ID","isShift","console","log","DoNameList","DO_DUTY_PRINT","DO_DIALY_PRINT","then","BillHistoryStore","state","platform","isHorizontalPad","isHorizontalSunMi","isMobileEnvironment","map","voucher","index","setCurIndex","Code","getVoucher","voucherInfo","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAA;;;;;;;;;AAkBA;;;AAVA;;;;AACA;;AACA;;AACA;;;;AACA;;;;AACA;;;;AACA;;AACA;;AACA;;;;AACA;;AAEA;;;;mBAECA,mB;;;AAEA,mBAAYC,KAA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Ae,IAAlC,EAAX,CAAhB;AAAA;AAAA,OAD5B;AAEE,WAAKV,KAAL,CAAWU,QAAX,GAAoB,CAAC,CAArB,IAAyB,8BAAC,wBAAD,IAAgB,MAAM,KAAKf,KAAL,CAAWS,IAAjC,EAAuC,UAAU,IAAjD,EAAuD,MAAM,KAAKJ,KAAL,CAAW+B,UAAX,CAAsB,KAAK/B,KAAL,CAAWU,QAAjC,CAA7D,EAAyG,aAAa,KAAKV,KAAL,CAAWgC,WAAjI;AAF3B;AAXD,KADD;AAiBC;AAAA;AAAA,OAAK,WAAU,eAAf;AACC;AAAC,kBAAD;AAAA,QAAQ,SAAU,KAAK1B,QAAvB;AAAA;AAAA,MADD;AAEC;AAAC,kBAAD;AAAA,QAAQ,MAAK,SAAb,EAAuB,SAAS,KAAKE,OAArC;AAAA;AAAA;AAFD;AAjBD,IADA;AAuBA;;;EAlE2ByB,gB","file":"dutysettlehistory.js","sourcesContent":["/*\n * @Descripttion: \n * @version: \n * @Author: chenlongad\n * @Date: 2021-05-12 14:40:27\n * @LastEditors: chenlongad\n * @LastEditTime: 2021-11-15 11:13:39\n */\nimport React, { Component } from 'react';\nimport { DatePicker, Button } from 'antd';\nimport { observer } from 'mobx-react';\nimport moment from \"moment\";\nimport classnames from 'classnames'\nimport DutySettleBill from './dutysettlebill';\nimport { Ticon, printDispatch,DoNameList } from 'tplus-components-touch';\nimport { platform } from 'mutants-util';\nimport BillHistoryStore from '../../stores/billHistoryStore';\nimport { DateFormat2 as DateFormat } from '../../dutyService';\n/**打印 */\nimport { PrintProcess } from '../../utils/PrintProcess';\n\n@observer\nexport default class extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.store = new BillHistoryStore();\n\t\tthis.state = { date: moment() };\n\t\tconst { isHorizontalPad, isHorizontalSunMi } = platform || {};\n\t\tthis.isMobileEnvironment = !!isHorizontalPad || !!isHorizontalSunMi;\n\t\tthis.isHorizontalPad = !!isHorizontalPad;\n\t}\n\tcomponentDidMount(){\n\t\tthis.onChange(moment());\n\t}\n\tonChange = (date, dataString) => {\n\t\tsetTimeout(() => {\n\t\t\tthis.store.getVouchers(date && date.format ? date.format(DateFormat) : \"\", this.props.type);\n\t\t\tif(dataString) this.setState({ date: date })\n\t\t}, 100);\n\t}\n\n\tonCancel = ()=>{\n\t\tthis.props.onAfterPrint && this.props.onAfterPrint();\n\t}\n\n\tonPrint = async ()=>{\n\t\t// 马坚 Add start\n\t\tlet id=null;\n\t\tlet curIndex=this.store.curIndex;\n\t\tif (this.store.vouchers && curIndex>=0) {\n\t\t\tid=this.store.vouchers[curIndex].ID;\n\t\t}\n\t\tlet isShift= this.props.type=='offDuty';\n\t\t// 打印\n\t\tconsole.log(\"打印开始:ID:\"+id);\n\t\tprintDispatch(isShift ? DoNameList.DO_DUTY_PRINT : DoNameList.DO_DIALY_PRINT, id).then(() => {\n\t\t\tthis.props.onAfterPrint && this.props.onAfterPrint();\n\t\t});\n\t}\n\n\n\trender() {\n\t\tconst vouchers = (this.store.curIndex>-1?this.store.vouchers:[]).map((voucher,index)=>{\n\t\t\treturn <div className={classnames({'selected':index==this.store.curIndex})} key={index+''} onClick={()=>{this.store.setCurIndex(index)}}>{voucher.Code}</div>\n\t\t});\n\t\treturn (\n\t\t<div className=\"history\">\n\t\t\t<div className='historybody'>\n\t\t\t\t<div className=\"historyleft\">\n\t\t\t\t\t\t<div className=\"datepicker\">\n\t\t\t\t\t\t\t<DatePicker\n\t\t\t\t\t\t\t\tformat={DateFormat}\n\t\t\t\t\t\t\t\tonChange={this.onChange}\n\t\t\t\t\t\t\t\tvalue={this.state.date}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t<div className=\"vouchers\">{vouchers}</div>\n\t\t\t\t</div>\n\t\t\t\t<div className=\"historyright\">\n\t\t\t\t\t{this.store.curIndex==-1 &&<div className={classnames({\"emptydata\":true, \"historyempty\":true})}>暂无数据</div>}\n\t\t\t\t\t{this.store.curIndex>-1 &&<DutySettleBill type={this.props.type} bhistory={true} bill={this.store.getVoucher(this.store.curIndex)} voucherInfo={this.store.voucherInfo} />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div className='historyfooter'>\n\t\t\t\t<Button onClick={ this.onCancel } >取消</Button>\n\t\t\t\t<Button type='primary' onClick={this.onPrint}>打印</Button>\n\t\t\t</div>\n\t\t</div>);\n\t}\n}\n"]}
|
|
@@ -44,6 +44,11 @@ var Header = _tplusComponentsTouch.Layout.Header; /**
|
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
46
|
function Head(props) {
|
|
47
|
+
//有些页面并不需要加载Header,例如副屏。
|
|
48
|
+
var pathname = window.location.pathname;
|
|
49
|
+
if ((pathname + '').indexOf('vicescreen') > -1) {
|
|
50
|
+
return '';
|
|
51
|
+
}
|
|
47
52
|
var businessName = props.businessName,
|
|
48
53
|
storeName = props.storeName,
|
|
49
54
|
networkStatus = props.networkStatus,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tplus-portaltouch/components/header/index.js"],"names":["Head","Header","Layout","props","businessName","storeName","networkStatus","time","dateFormat","style","solt","logo","className","isPortal","isLogin","menu","onClick","posCode","
|
|
1
|
+
{"version":3,"sources":["tplus-portaltouch/components/header/index.js"],"names":["Head","Header","Layout","props","pathname","window","location","indexOf","businessName","storeName","networkStatus","time","dateFormat","style","solt","logo","className","isPortal","isLogin","menu","onClick","posCode","history","classes","propTypes","PropTypes","object","string","number","node","array","onSelect","func"],"mappings":";;;;;kBAyBwBA,I;;AAVxB;;;;AACA;;;;AACA;;AACA;;;;AACA;;AACA;;AACA;;;;IAEOC,M,GAAUC,4B,CAAVD,M,EAvBP;;;AAGA;;;;;;;;;;;;;AAsBe,SAASD,IAAT,CAAcG,KAAd,EAAqB;AAClC;AACA,MAAMC,WAAWC,OAAOC,QAAP,CAAgBF,QAAjC;AACA,MAAI,CAACA,WAAW,EAAZ,EAAgBG,OAAhB,CAAwB,YAAxB,IAAwC,CAAC,CAA7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,gBAAUH,QAZZ;AAaE,eAASC,OAbX;AAcE,gBAAUZ,QAdZ;AAeE,eAASgB;AAfX;AADM,GAAR;AAmBD;;AAEDtB,KAAKwB,SAAL,GAAiB;AACfX,SAAOY,oBAAUC,MADF;AAEfV,aAAWS,oBAAUE,MAFN;AAGfnB,gBAAciB,oBAAUE,MAHT;AAIflB,aAAWgB,oBAAUE,MAJN;AAKfjB,iBAAee,oBAAUE,MALV;AAMfhB,QAAM,0BAAU,CACdc,oBAAUE,MADI,EAEdF,oBAAUG,MAFI,CAAV,CANS;AAUfhB,cAAYa,oBAAUE,MAVP;AAWfZ,QAAMU,oBAAUI,IAXD;AAYfV,QAAMM,oBAAUK,KAZD;AAafC,YAAUN,oBAAUO;AAbL,CAAjB","file":"index.js","sourcesContent":["/**\n * Created by hzy on 2019/3/25.\n */\n/**\n * @style style\n * @logo 商户LOGO\n * @businessName 商户名\n * @storeName 门店名\n * @posCode pos机号\n * @networkStatus 网络状态\n * @time 时间(时间戳or字符串)\n * @dateFormat 格式化时间 'yyyy-MM-dd hh:mm:ss.S'\n * @solt render插槽内容\n * @infoRender 外层Main容器context上的infoRender方法,传入参数为要渲染的react node内容 // this.context.infoRender(node)\n */\nimport React from 'react';\nimport PropTypes, { oneOfType } from 'prop-types';\nimport { Layout } from 'tplus-components-touch';\nimport HeadContent from './headContent';\nimport { generatorClass } from '../../utils';\nimport './style.less';\nimport './vertical-touch.less';\n\nconst {Header} = Layout;\n\nexport default function Head(props) {\n //有些页面并不需要加载Header,例如副屏。\n const pathname = window.location.pathname;\n if ((pathname + '').indexOf('vicescreen') > -1) {\n return '';\n }\n const {\n businessName, storeName, networkStatus, time, dateFormat, style = {}, solt, logo, className = '',\n isPortal, isLogin, menu, onClick, posCode, location, history\n } = props;\n const classes = generatorClass('pos-header', className);\n return (<Header className={classes}>\n <HeadContent\n logo={logo}\n businessName={businessName}\n storeName={storeName}\n networkStatus={networkStatus}\n time={time}\n posCode={posCode}\n dateFormat={dateFormat}\n style={style}\n solt={solt}\n menu={menu}\n onClick={onClick}\n isPortal={isPortal}\n isLogin={isLogin}\n location={location}\n history={history}\n />\n </Header>);\n}\n\nHead.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n businessName: PropTypes.string,\n storeName: PropTypes.string,\n networkStatus: PropTypes.string,\n time: oneOfType([\n PropTypes.string,\n PropTypes.number\n ]),\n dateFormat: PropTypes.string,\n logo: PropTypes.node,\n menu: PropTypes.array,\n onSelect: PropTypes.func,\n};\n"]}
|
|
@@ -96,7 +96,36 @@ var ThemeModal = function (_Component) {
|
|
|
96
96
|
isPortal = _props.isPortal,
|
|
97
97
|
isVertical = _props.isVertical;
|
|
98
98
|
|
|
99
|
-
return _react2.default.createElement(
|
|
99
|
+
return isVertical ? _react2.default.createElement(
|
|
100
|
+
_tplusComponentsTouch.ModalVertical,
|
|
101
|
+
{
|
|
102
|
+
title: '\u4E3B\u9898',
|
|
103
|
+
visible: visible,
|
|
104
|
+
cancel: this.cancel,
|
|
105
|
+
ok: this.ok,
|
|
106
|
+
closeButton: false,
|
|
107
|
+
modalType: 'big',
|
|
108
|
+
className: 'theme-modal big-modal vertical-theme',
|
|
109
|
+
destroyOnClose: false
|
|
110
|
+
},
|
|
111
|
+
_react2.default.createElement(
|
|
112
|
+
'div',
|
|
113
|
+
{ className: 'theme-body ' + (!isPortal ? 'pos-page' : '') },
|
|
114
|
+
this.themeImgs.map(function (item, index) {
|
|
115
|
+
return _react2.default.createElement(
|
|
116
|
+
'div',
|
|
117
|
+
{ key: index, className: item.className + ' ' + (_this2.state.theme === item.theme ? 'current-theme' : ''), onClick: function onClick() {
|
|
118
|
+
return _this2.toggleTheme(item.theme);
|
|
119
|
+
} },
|
|
120
|
+
_react2.default.createElement(
|
|
121
|
+
'span',
|
|
122
|
+
null,
|
|
123
|
+
item.name
|
|
124
|
+
)
|
|
125
|
+
);
|
|
126
|
+
})
|
|
127
|
+
)
|
|
128
|
+
) : _react2.default.createElement(
|
|
100
129
|
_tplusComponentsTouch.ModalWraper,
|
|
101
130
|
{
|
|
102
131
|
title: '\u4E3B\u9898',
|
|
@@ -105,7 +134,7 @@ var ThemeModal = function (_Component) {
|
|
|
105
134
|
ok: this.ok,
|
|
106
135
|
closeButton: false,
|
|
107
136
|
modalType: 'big',
|
|
108
|
-
className: 'theme-modal
|
|
137
|
+
className: 'theme-modal',
|
|
109
138
|
destroyOnClose: false
|
|
110
139
|
},
|
|
111
140
|
_react2.default.createElement(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["tplus-portaltouch/components/header/themeModal.js"],"names":["ThemeModal","props","context","toggleTheme","type","console","log","state","theme","document","body","classList","add","themeClass","remove","setState","stores","portalStore","themeChange","cancel","localTheme","localStorage","getItem","closeFn","ok","setItem","themeVisible","orange","blue","dark","pink","isVertical","themeImgs","className","name","visible","isPortal","map","item","index","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;AACA;;AACA;;;;IAEqBA,U;;;AAEjB,wBAAYC,KAAZ,EAAmBC,OAAnB,EAA4B;AAAA;;AAAA,kJAClBD,KADkB,EACXC,OADW;;AAAA,cAkB5BC,WAlB4B,GAkBd,UAACC,IAAD,EAAU;AACpBC,oBAAQC,GAAR,CAAY,SAAZ,EAAuB,MAAKC,KAAL,CAAWC,KAAlC;AACA,gBAAI,MAAKD,KAAL,CAAWC,KAAX,KAAqBJ,IAAzB,EAA+B;AAC/BK,qBAASC,IAAT,CAAcC,SAAd,CAAwBC,GAAxB,CAA4B,MAAKC,UAAL,CAAgBT,IAAhB,CAA5B;AACAK,qBAASC,IAAT,CAAcC,SAAd,CAAwBG,MAAxB,CAA+B,MAAKD,UAAL,CAAgB,MAAKN,KAAL,CAAWC,KAA3B,CAA/B;AACA,kBAAKO,QAAL,CAAc;AACVP,uBAAOJ;AADG,aAAd;AAGAY,mCAAOC,WAAP,CAAmBC,WAAnB,CAA+Bd,IAA/B;AACH,SA3B2B;;AAAA,cA4B5Be,MA5B4B,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kD0B,MAAM,MAAxD,EADtD,CAAf;AAEH,SAHD,MAGO;AACH,kBAAKF,SAAL,GAAe,CAAC,EAAEC,WAAW,kBAAb,EAAiCzB,OAAO,QAAxC,EAAkD0B,MAAM,KAAxD,EAAD,EAAiE,EAAED,WAAW,gBAAb,EAA+BzB,OAAO,MAAtC,EAA8C0B,MAAM,MAApD,EAAjE,EACX,EAAED,WAAW,gBAAb,EAA+BzB,OAAO,MAAtC,EAA8C0B,MAAM,MAApD,EADW,EACkD,EAAED,WAAW,gBAAb,EAA+BzB,OAAO,MAAtC,EAA8C0B,MAAM,MAApD,EADlD,CAAf;AAEH;AAfuB;AAgB3B;;;;iCA4BQ;AAAA;;AAAA,yBACqC,KAAKjC,KAD1C;AAAA,gBACGkC,OADH,UACGA,OADH;AAAA,gBACYC,QADZ,UACYA,QADZ;AAAA,gBACsBL,UADtB,UACsBA,UADtB;;AAEL,
|
|
1
|
+
{"version":3,"sources":["tplus-portaltouch/components/header/themeModal.js"],"names":["ThemeModal","props","context","toggleTheme","type","console","log","state","theme","document","body","classList","add","themeClass","remove","setState","stores","portalStore","themeChange","cancel","localTheme","localStorage","getItem","closeFn","ok","setItem","themeVisible","orange","blue","dark","pink","isVertical","themeImgs","className","name","visible","isPortal","map","item","index","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;AACA;;AACA;;;;IAEqBA,U;;;AAEjB,wBAAYC,KAAZ,EAAmBC,OAAnB,EAA4B;AAAA;;AAAA,kJAClBD,KADkB,EACXC,OADW;;AAAA,cAkB5BC,WAlB4B,GAkBd,UAACC,IAAD,EAAU;AACpBC,oBAAQC,GAAR,CAAY,SAAZ,EAAuB,MAAKC,KAAL,CAAWC,KAAlC;AACA,gBAAI,MAAKD,KAAL,CAAWC,KAAX,KAAqBJ,IAAzB,EAA+B;AAC/BK,qBAASC,IAAT,CAAcC,SAAd,CAAwBC,GAAxB,CAA4B,MAAKC,UAAL,CAAgBT,IAAhB,CAA5B;AACAK,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UAAgC,OAAK1B,KAAL,CAAWC,KAAX,KAAqB8B,KAAK9B,KAA1B,GAAkC,eAAlC,GAAoD,EAApF,CAAjB,EAA2G,SAAS;AAAA,2CAAM,OAAKL,WAAL,CAAiBmC,KAAK9B,KAAtB,CAAN;AAAA,iCAApH;AACJ;AAAA;AAAA;AAAO8B,qCAAKJ;AAAZ;AADI,yBAAR;AAGH,qBAJA;AADL;AAVJ,aADA,GAqBA;AAAC,iDAAD;AAAA;AACI,2BAAM,cADV;AAEI,6BAASC,OAFb;AAGI,4BAAQ,KAAKhB,MAHjB;AAII,wBAAI,KAAKK,EAJb;AAKI,iCAAa,KALjB;AAMI,+BAAU,KANd;AAOI,4CAPJ;AAQI,oCAAgB;AARpB;AAUI;AAAA;AAAA,sBAAK,4BAAyB,CAACY,QAAD,GAAY,UAAZ,GAAyB,EAAlD,CAAL;AACK,yBAAKJ,SAAL,CAAeK,GAAf,CAAmB,UAACC,IAAD,EAAOC,KAAP,EAAe;AAC/B,+BAAQ;AAAA;AAAA,8BAAK,KAAKA,KAAV,EAAiB,WAAcD,KAAKL,SAAnB,UAAgC,OAAK1B,KAAL,CAAWC,KAAX,KAAqB8B,KAAK9B,KAA1B,GAAkC,eAAlC,GAAoD,EAApF,CAAjB,EAA2G,SAAS;AAAA,2CAAM,OAAKL,WAAL,CAAiBmC,KAAK9B,KAAtB,CAAN;AAAA,iCAApH;AACJ;AAAA;AAAA;AAAO8B,qCAAKJ;AAAZ;AADI,yBAAR;AAGH,qBAJA;AADL;AAVJ,aAtBJ;AAyCH;;;EAzFmCM,gB;;kBAAnBxC,U","file":"themeModal.js","sourcesContent":["import React, { Component } from 'react';\nimport { stores } from 'mutants-microfx';\nimport { ModalWraper, ModalVertical } from 'tplus-components-touch';\n\nexport default class ThemeModal extends Component {\n\n constructor(props, context) {\n super(props, context);\n this.state = {\n themeVisible: false,\n theme: localStorage.getItem(\"theme\")\n };\n\n this.themeClass = {orange: 'theme-class', blue: 'blue-theme', dark: 'dark-blue-theme', pink: 'pink-theme'};\n\n if (props.isVertical){\n this.themeImgs=[{ className: 'self-orange self-img', theme: 'orange', name: '热力橙' },{ className: 'self-blue self-img', theme: 'blue', name: '智能科技' },\n { className: 'self-pink self-img', theme: 'pink', name: '浪漫樱花' },{ className: 'self-dark self-img', theme: 'dark', name: '商务简洁' }];\n } else {\n this.themeImgs=[{ className: 'pc-orange pc-img', theme: 'orange', name: '热力橙' },{ className: 'pc-blue pc-img', theme: 'blue', name: '智能科技' },\n { className: 'pc-pink pc-img', theme: 'pink', name: '浪漫樱花' },{ className: 'pc-dark pc-img', theme: 'dark', name: '商务简洁' }];\n }\n }\n\n toggleTheme = (type) => {\n console.log('切换主题333', this.state.theme);\n if (this.state.theme === type) return;\n document.body.classList.add(this.themeClass[type]);\n document.body.classList.remove(this.themeClass[this.state.theme]);\n this.setState({\n theme: type\n });\n stores.portalStore.themeChange(type);\n }\n cancel = () => {\n const localTheme = localStorage.getItem(\"theme\");\n this.props.closeFn(false);\n if (localTheme === this.state.theme) return;\n document.body.classList.add(this.themeClass[localTheme]);\n document.body.classList.remove(this.themeClass[this.state.theme]);\n this.setState({\n theme: localTheme\n });\n stores.portalStore.themeChange(localTheme);\n }\n ok = () => {\n localStorage.setItem(\"theme\", this.state.theme);\n this.props.closeFn(false);\n }\n\n render() {\n const { visible, isPortal, isVertical } = this.props;\n return (\n isVertical?\n <ModalVertical\n title=\"主题\"\n visible={visible}\n cancel={this.cancel}\n ok={this.ok}\n closeButton={false}\n modalType=\"big\"\n className={`theme-modal big-modal vertical-theme`}\n destroyOnClose={false}\n >\n <div className={`theme-body ${!isPortal ? 'pos-page' : ''}`}>\n {this.themeImgs.map((item, index)=>{\n return (<div key={index} className={`${item.className} ${this.state.theme === item.theme ? 'current-theme' : ''}`} onClick={() => this.toggleTheme(item.theme)}>\n <span>{item.name}</span>\n </div>)\n })}\n </div>\n\n </ModalVertical>\n :\n <ModalWraper\n title=\"主题\"\n visible={visible}\n cancel={this.cancel}\n ok={this.ok}\n closeButton={false}\n modalType=\"big\"\n className={`theme-modal`}\n destroyOnClose={false}\n >\n <div className={`theme-body ${!isPortal ? 'pos-page' : ''}`}>\n {this.themeImgs.map((item, index)=>{\n return (<div key={index} className={`${item.className} ${this.state.theme === item.theme ? 'current-theme' : ''}`} onClick={() => this.toggleTheme(item.theme)}>\n <span>{item.name}</span>\n </div>)\n })}\n </div>\n </ModalWraper>\n )\n }\n}"]}
|
|
@@ -410,7 +410,70 @@ var centerRightMenu = [{
|
|
|
410
410
|
container: { className: 'worktop-item-center-right-bottom' },
|
|
411
411
|
sub: [{ title: '硬件参数', icon: 'zhiPOS-shouye-yingjiancanshu', className: 'worktop-item-hardware light-white', key: 'portsetting', url: '/portsetting', Name: 'HardwareSetting' }, {
|
|
412
412
|
title: '更多', icon: 'gengduo1', className: 'worktop-item-more light-white', key: 'more', Name: 'More',
|
|
413
|
-
sub_tc: [{ title: '预订单配送', icon: 'yudingdanpeisong', className: 'worktop-item-presaleorder light-white', key: 'PresaleOrder',
|
|
413
|
+
sub_tc: [{ title: '预订单配送', icon: 'yudingdanpeisong', className: 'worktop-item-presaleorder light-white', key: 'PresaleOrder', Name: 'PresaleOrder', iframe: true, app: 'cc',
|
|
414
|
+
style: {
|
|
415
|
+
content_only: true,
|
|
416
|
+
bar_bg: '#FFFFFF',
|
|
417
|
+
bar_active_bg: '#38D5B0'
|
|
418
|
+
},
|
|
419
|
+
search: [{
|
|
420
|
+
menu: 'pre-sell',
|
|
421
|
+
activePrompt: false,
|
|
422
|
+
closePrompt: false,
|
|
423
|
+
closeable: false,
|
|
424
|
+
leavePrompt: false,
|
|
425
|
+
lock: false,
|
|
426
|
+
pageId: 'pre-sell',
|
|
427
|
+
pageParams: {},
|
|
428
|
+
path: 'pre-sell',
|
|
429
|
+
tabId: 'pre-sell',
|
|
430
|
+
tabLabel: '预订单配送',
|
|
431
|
+
pageType: 'voucher',
|
|
432
|
+
_k: ''
|
|
433
|
+
}]
|
|
434
|
+
}, { title: '预订取货统计表', icon: 'yudingquhuotongjibiao', className: 'worktop-item-pickupstatistics light-white', key: 'PickupStatistics', Name: 'PickupStatistics', iframe: true, app: 'cc',
|
|
435
|
+
style: {
|
|
436
|
+
content_only: true,
|
|
437
|
+
bar_bg: '#FFFFFF',
|
|
438
|
+
bar_active_bg: '#38D5B0'
|
|
439
|
+
},
|
|
440
|
+
search: [{
|
|
441
|
+
menu: 'schedule-pickup-statistics-report',
|
|
442
|
+
activePrompt: false,
|
|
443
|
+
closePrompt: false,
|
|
444
|
+
closeable: false,
|
|
445
|
+
leavePrompt: false,
|
|
446
|
+
lock: false,
|
|
447
|
+
pageId: 'schedule-pickup-statistics-report',
|
|
448
|
+
pageParams: {},
|
|
449
|
+
path: 'schedule-pickup-statistics-report',
|
|
450
|
+
tabId: 'schedule-pickup-statistics-report',
|
|
451
|
+
tabLabel: '预订取货统计表',
|
|
452
|
+
pageType: 'report',
|
|
453
|
+
_k: ''
|
|
454
|
+
}]
|
|
455
|
+
}, { title: '预订取货跟踪表', icon: 'yudingquhuogenzongbiao', className: 'worktop-item-pickuptrack light-white', key: 'PickupTrack', Name: 'PickupTrack', iframe: true, app: 'cc',
|
|
456
|
+
style: {
|
|
457
|
+
content_only: true,
|
|
458
|
+
bar_bg: '#FFFFFF',
|
|
459
|
+
bar_active_bg: '#38D5B0'
|
|
460
|
+
},
|
|
461
|
+
search: [{
|
|
462
|
+
menu: 'schedule-obtain-track-report',
|
|
463
|
+
activePrompt: false,
|
|
464
|
+
closePrompt: false,
|
|
465
|
+
closeable: false,
|
|
466
|
+
leavePrompt: false,
|
|
467
|
+
lock: false,
|
|
468
|
+
pageId: 'schedule-obtain-track-report',
|
|
469
|
+
pageParams: {},
|
|
470
|
+
path: 'schedule-obtain-track-report',
|
|
471
|
+
tabId: 'schedule-obtain-track-report',
|
|
472
|
+
tabLabel: '预订取货跟踪表',
|
|
473
|
+
pageType: 'report',
|
|
474
|
+
_k: ''
|
|
475
|
+
}]
|
|
476
|
+
}, { title: '组装拆卸单', icon: 'zuzhuangchaixiedan', className: 'worktop-item-assemblyorder light-white', key: 'AssemblyOrder', tmenuCode: 'ST1034', Name: 'AssemblyOrder', iframe: true, app: 'tc' }, { title: '形态转换单', icon: 'xingtaizhuanhuandan', className: 'worktop-item-shapevoucher light-white', key: 'ShapeVoucher', tmenuCode: 'ST1033', Name: 'ShapeVoucher', iframe: true, app: 'tc' }],
|
|
414
477
|
sub_cc: [
|
|
415
478
|
// {
|
|
416
479
|
// title: '预订单配送', icon: 'yudingdanpeisong', className: 'worktop-item-presaleorder light-white', key: 'PresaleOrder', Name: 'PresaleOrder', iframe: true, app: 'cc',
|