mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化就餐
This commit is contained in:
parent
2e5cc197b9
commit
7fe8f1a8a0
@ -77,7 +77,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="reserveDining in doDiningInfo.orders">
|
<tr v-for="item in doDiningInfo.orders">
|
||||||
<td class="text-center">{{item.orderId}}</td>
|
<td class="text-center">{{item.orderId}}</td>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
{{item.goodsName}}
|
{{item.goodsName}}
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
conditions: {
|
conditions: {
|
||||||
goodsId: '',
|
goodsId: '',
|
||||||
goodsName: '',
|
goodsName: '',
|
||||||
type: '1001',
|
|
||||||
state: '',
|
state: '',
|
||||||
catalogId: '',
|
catalogId: '',
|
||||||
communityId: vc.getCurrentCommunity().communityId
|
communityId: vc.getCurrentCommunity().communityId
|
||||||
@ -32,7 +32,7 @@
|
|||||||
setInterval(function(){
|
setInterval(function(){
|
||||||
document.getElementById("qrCode").focus();
|
document.getElementById("qrCode").focus();
|
||||||
},5000);
|
},5000);
|
||||||
vc.component._listReserveConfirms(_currentPage, DEFAULT_ROWS);
|
vc.component._listReserveConfirms(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||||
},
|
},
|
||||||
_initEvent: function() {
|
_initEvent: function() {
|
||||||
vc.on('pagination', 'page_event', function(_currentPage) {
|
vc.on('pagination', 'page_event', function(_currentPage) {
|
||||||
@ -80,6 +80,7 @@
|
|||||||
},
|
},
|
||||||
function(json, res) {
|
function(json, res) {
|
||||||
let _data = JSON.parse(json);
|
let _data = JSON.parse(json);
|
||||||
|
$that.doDiningInfo.qrCode = '';
|
||||||
if (_data.code != 0) {
|
if (_data.code != 0) {
|
||||||
vc.toast(_data.msg);
|
vc.toast(_data.msg);
|
||||||
return;
|
return;
|
||||||
@ -89,6 +90,7 @@
|
|||||||
function(errInfo, error) {
|
function(errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
vc.toast(errInfo);
|
vc.toast(errInfo);
|
||||||
|
$that.doDiningInfo.qrCode = '';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user