shish 3 лет назад
Родитель
Сommit
04ff1c472c
2 измененных файлов с 23 добавлено и 7 удалено
  1. 7 7
      ghsApp/src/pagesPurchase/components/pageSuccess.vue
  2. 16 0
      hdApp/src/admin/home/workbench.vue

+ 7 - 7
ghsApp/src/pagesPurchase/components/pageSuccess.vue

@@ -33,7 +33,7 @@
 					<button class="admin-button-com big blue" style="width:40vh;margin-top:50upx;" @click="commitChange">确认修改</button>
 					<button class="admin-button-com big blue" style="width:40vh;margin-top:50upx;" @click="commitChange">确认修改</button>
 				</template>
 				</template>
 
 
-				<button class="admin-button-com big default" style="width:40vh;margin-top:30upx;" @click="goBackFn">返回首页</button>
+				<button class="admin-button-com big default" style="width:40vh;margin-top:30upx;" @click="goBackFn">返回</button>
 
 
 			</view>
 			</view>
 		</view>
 		</view>
@@ -188,19 +188,19 @@ export default {
 		}
 		}
 		.cg-cost{
 		.cg-cost{
 			font-weight:bold;
 			font-weight:bold;
-			font-size:28upx;
+			font-size:27upx;
 			color:red;
 			color:red;
 			position:absolute;
 			position:absolute;
-			left:505upx;
-			top:5upx;
+			left:515upx;
+			top:-20upx;
 		}
 		}
 		.cost-price{
 		.cost-price{
 			font-weight:bold;
 			font-weight:bold;
-			font-size:28upx;
+			font-size:27upx;
 			color:blue;
 			color:blue;
 			position:absolute;
 			position:absolute;
-			left:580upx;
-			top:5upx;
+			left:515upx;
+			top:18upx;
 		}
 		}
 		input{
 		input{
 			border:1upx solid #cccccc;
 			border:1upx solid #cccccc;

+ 16 - 0
hdApp/src/admin/home/workbench.vue

@@ -95,6 +95,11 @@
 
 
       <template v-if="!$util.isEmpty(supplierList)">
       <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="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="image-text_7 flex-row justify-between">
             <view class="section_1 flex-col">
             <view class="section_1 flex-col">
@@ -238,6 +243,17 @@ export default {
       })
       })
   },
   },
   methods: {
   methods: {
+    suggest(){
+      let that = this
+      that.$util.confirmModal({content:'请添加管理员微信反馈:15280215347',okText:'复制'},() => {
+        uni.setClipboardData({
+          data: '15280215347',
+          success: function() {
+            that.$msg("复制成功")
+          }
+        })
+			})
+    },
     bookItem(item){
     bookItem(item){
       const { id } = item
       const { id } = item
       this.pageTo({url: '/pagesPurchase/bookProduct?id='+id})
       this.pageTo({url: '/pagesPurchase/bookProduct?id='+id})