shish 3 سال پیش
والد
کامیت
389749013b
1فایلهای تغییر یافته به همراه16 افزوده شده و 0 حذف شده
  1. 16 0
      hdApp/src/pagesPurchase/order.vue

+ 16 - 0
hdApp/src/pagesPurchase/order.vue

@@ -4,6 +4,11 @@
 
       <template v-if="!$util.isEmpty(supplierList)">
 
+        <view style="background-color:white;margin-bottom:20upx;">
+          <button class="admin-button-com middle blue" style="margin-left:35upx;" @click="pageTo({url:'/admin/stat/cgItem'})">采购统计</button>
+          <button class="admin-button-com middle blue" style="margin-left:40upx;" @click="suggest()">改进建议</button>
+        </view>
+
         <view class="ghs_box flex-col justify-end" v-for="(ghsInfo, index) in supplierList" :key="index">
           <view class="image-text_7 flex-row justify-between">
             <view class="section_1 flex-col">
@@ -61,6 +66,17 @@ export default {
     })
   },
   methods: {
+    suggest(){
+      let that = this
+      that.$util.confirmModal({content:'请添加管理员微信反馈:15280215347',okText:'复制'},() => {
+        uni.setClipboardData({
+          data: '15280215347',
+          success: function() {
+            that.$msg("复制成功");
+          }
+        })
+			})
+    },
     bookItem(item){
       const { id } = item
       this.pageTo({url: '/pagesPurchase/bookProduct?id='+id})