diff --git a/public/pages/reserve/doDining/doDining.html b/public/pages/reserve/doDining/doDining.html
index 5be870604..9d286d577 100644
--- a/public/pages/reserve/doDining/doDining.html
+++ b/public/pages/reserve/doDining/doDining.html
@@ -77,7 +77,7 @@
-
+
| {{item.orderId}} |
{{item.goodsName}}
diff --git a/public/pages/reserve/doDining/doDining.js b/public/pages/reserve/doDining/doDining.js
index 643bccdb9..f54e79eed 100644
--- a/public/pages/reserve/doDining/doDining.js
+++ b/public/pages/reserve/doDining/doDining.js
@@ -17,7 +17,7 @@
conditions: {
goodsId: '',
goodsName: '',
- type: '1001',
+
state: '',
catalogId: '',
communityId: vc.getCurrentCommunity().communityId
@@ -32,7 +32,7 @@
setInterval(function(){
document.getElementById("qrCode").focus();
},5000);
- vc.component._listReserveConfirms(_currentPage, DEFAULT_ROWS);
+ vc.component._listReserveConfirms(DEFAULT_PAGE, DEFAULT_ROWS);
},
_initEvent: function() {
vc.on('pagination', 'page_event', function(_currentPage) {
@@ -80,6 +80,7 @@
},
function(json, res) {
let _data = JSON.parse(json);
+ $that.doDiningInfo.qrCode = '';
if (_data.code != 0) {
vc.toast(_data.msg);
return;
@@ -89,6 +90,7 @@
function(errInfo, error) {
console.log('请求失败处理');
vc.toast(errInfo);
+ $that.doDiningInfo.qrCode = '';
}
);
},
|