This commit is contained in:
2026-08-06 18:00:04 +08:00
parent b30cc47184
commit e60b172b39
10 changed files with 317 additions and 285 deletions
+32 -13
View File
@@ -676,7 +676,16 @@
}
},
methods: {
checkPreOrder() {
axios
.post(HTTP_HOST + 'api/preOrder/CheckPreVsOrder', {order_no:this.order_no})
.then(response => {
console.log(response)
let resp = response.data;
this.snackbar.text = resp.message;
this.snackbar.show = true;
})
},
getPreOrder() {
let search = { order_no: this.order_no }
axios
@@ -2076,19 +2085,29 @@
</div>
<div class="tab-pane fade label-sm-right" id="sec2-page2" role="tabpanel" aria-labelledby="sec2-tab2">
<div class="d-flex w-100">
<div class="row">
<div class="col-12 col-md-6 ">
客堂登記功德項目數:{{ preOrder.item_count }}
</div>
<div class="col-12 col-md-6 ">
客堂登記總金額:{{ preOrder.total_amt }}
</div>
<div class="col-12 col-md-6 "></div>
<div class="col-12 col-md-6 "></div>
</div>
</div>
<v-card class="mx-auto" outlined v-if="order_no!=''">
<v-card-title>
<%if (IsPreOrder == "true")
{ %>
<div class="container-lg" >
<div class="row">
<div class="col-12 col-md-4 ">
客堂登記功德項目數:{{ preOrder.item_count }}
</div>
<div class="col-12 col-md-4 ">
客堂登記總金額:{{ preOrder.total_amt }}
</div>
<div class="col-12 col-md-4 ">
<button class="btn btn-primary" title="檢查客堂登記與文書組登打差異" @click.prevent="checkPreOrder">檢查</button>
</div>
<%--<div class="col-12 col-md-6 "></div>--%>
</div>
</div>
<% } %>
</v-card-title>
<v-data-table
:headers="headersDetail"
:items="desserts"