mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化就餐
This commit is contained in:
parent
2e5cc197b9
commit
7fe8f1a8a0
@ -77,7 +77,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="reserveDining in doDiningInfo.orders">
|
||||
<tr v-for="item in doDiningInfo.orders">
|
||||
<td class="text-center">{{item.orderId}}</td>
|
||||
<th class="text-center">
|
||||
{{item.goodsName}}
|
||||
|
||||
@ -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 = '';
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user