shish 3 سال پیش
والد
کامیت
a43c183e2b
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      ghsApp/src/pagesOrder/refundDetail.vue

+ 6 - 0
ghsApp/src/pagesOrder/refundDetail.vue

@@ -24,6 +24,9 @@
 			<view class="refund-label">备注信息:</view>
 			<view class="list">{{remark}}</view>
 		</view>
+		<view style="text-align:center;">
+			<button class="admin-button-com big blue" style="margin:0 auto;" @click="goWaste()">去报损</button>
+		</view>
 	</view>
 </template>
 <script>
@@ -40,6 +43,9 @@ export default {
 	onShow() {
 	},
 	methods: {
+		goWaste(){
+			this.$util.pageTo({ url: '/pagesOrder/refundSuccess?id='+this.option.id})
+		},
 		init() {
 			refundDetail({ id: this.option.id }).then(res=>{
 				this.product = res.data.itemList||[];