|
|
@@ -0,0 +1,66 @@
|
|
|
+<template>
|
|
|
+<appResult :title="title">
|
|
|
+
|
|
|
+ <button class="admin-button-com big blue" @click="goDetail()">查看详情</button>
|
|
|
+ <button class="admin-button-com big blue" @click="goOn()">继续结账</button>
|
|
|
+ <button class="admin-button-com big" @click="selectClear">其他人结账</button>
|
|
|
+ <button class="admin-button-com big" @click="goList">结账记录</button>
|
|
|
+ <button class="admin-button-com big" @click="goBackHome">返回</button>
|
|
|
+
|
|
|
+ <!-- #ifdef MP-WEIXIN -->
|
|
|
+ <view style="width:688upx;height:20upx;background-color: #ece5e5;"></view>
|
|
|
+ <ad-custom unit-id="adunit-42a99bd9e25e3626" v-if="currentEnv=='production'" style="width:688upx;"></ad-custom>
|
|
|
+ <ad-custom unit-id="adunit-9523c840341ccb1f" v-else style="width:688upx;"></ad-custom>
|
|
|
+ <!-- #endif -->
|
|
|
+
|
|
|
+</appResult>
|
|
|
+
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import appResult from "@/components/app-result"
|
|
|
+import { CURRENT_ENV } from "@/config"
|
|
|
+export default {
|
|
|
+ name: "result",
|
|
|
+ components: {
|
|
|
+ appResult
|
|
|
+ },
|
|
|
+ mixins: [],
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ title:'结账成功',
|
|
|
+ currentEnv:'production'
|
|
|
+ };
|
|
|
+ },
|
|
|
+ onLoad() {
|
|
|
+ //当前环境
|
|
|
+ this.currentEnv = CURRENT_ENV
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ init() {
|
|
|
+ },
|
|
|
+ goDetail() {
|
|
|
+ let id = this.option.id?this.option.id:''
|
|
|
+ this.$util.pageTo({url: "/admin/clear/info?id="+id,type:2})
|
|
|
+ },
|
|
|
+ selectClear(){
|
|
|
+ this.$util.pageTo({url: "/pagesPurchase/supplier",type:2})
|
|
|
+ },
|
|
|
+ goOn(){
|
|
|
+ let ghsId = this.option.ghsId ? this.option.ghsId : 0
|
|
|
+ this.$util.pageTo({url: "/pagesGys/search?id="+ghsId,type:2})
|
|
|
+ },
|
|
|
+ goList(){
|
|
|
+ this.$util.pageTo({url: "/admin/clear/list",type:2})
|
|
|
+ },
|
|
|
+ goBackHome() {
|
|
|
+ uni.navigateBack({ delta: 1 });
|
|
|
+ }
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
+.admin-button-com {
|
|
|
+ margin-bottom:30upx;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+</style>
|