shish 2 лет назад
Родитель
Сommit
b87a3a36b4

+ 8 - 1
ghsApp/src/admin/book/itemCustom.vue

@@ -25,7 +25,14 @@
                                     <t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.roadNum?parseFloat(item.roadNum):0}}</view></t-td>
                                     <t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.roadNum?parseFloat(item.roadNum):0}}</view></t-td>
                                     <t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.needCgNum?parseFloat(item.needCgNum):0}}</view></t-td>
-                                    <t-td></t-td>
+                                    <t-td>
+										<view style="color:#333333;font-size:22upx;height:60upx;display: flex;align-items: center;position: relative;">
+											<text>操作</text>
+											<text style="color:#CCCCCC;position: absolute;top:52upx;width:300upx;right:-30upx;text-align:right;font-size:21upx;">
+												{{ item.customName }}<text style="margin-left:12upx;" v-if="item.seatSn != 0">{{'货号:'+item.seatSn }}</text>
+											</text>
+										</view>
+									</t-td>
                                 </t-tr>
                             </view>
                         </template>

+ 14 - 7
ghsApp/src/admin/order/statBook.vue

@@ -14,16 +14,23 @@
 		<scroll-view scroll-y scroll-with-animation class="main-view">
 			<view class="space-view ex-table">
 				<t-table :headerBackgroundColor="'#F0F2F6'">
-					<t-tr header><t-th>花材</t-th><t-th>预订</t-th><t-th>上架</t-th><t-th>剩余</t-th><t-th>路上</t-th><t-th>待采</t-th></t-tr>
+					<t-tr header>
+						<t-th><view style="width:160upx;">花材</view></t-th>
+						<t-th>预订</t-th>
+						<t-th>上架</t-th>
+						<t-th>剩余</t-th>
+						<t-th>路上</t-th>
+						<t-th>待采</t-th>
+					</t-tr>
 					<template v-if="!$util.isEmpty(profile)">
 						<view v-for="(item, index) in profile" :key="index" @click="goDetail(item)">
 							<t-tr>
-								<t-td><view style="color:#333333;font-size:26upx;">{{item.name}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:26upx;">{{item.bookNum?parseFloat(item.bookNum):0}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:26upx;">{{item.onNum?parseFloat(item.onNum):0}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:26upx;">{{item.roadNum?parseFloat(item.roadNum):0}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:26upx;">{{item.roadNum?parseFloat(item.roadNum):0}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:26upx;">{{item.needCgNum?parseFloat(item.needCgNum):0}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:25upx;width:160upx;text-align:left;height:60upx;display: flex;align-items: center;">{{item.name}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.bookNum?parseFloat(item.bookNum):0}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.onNum?parseFloat(item.onNum):0}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.roadNum?parseFloat(item.roadNum):0}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.roadNum?parseFloat(item.roadNum):0}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:25upx;height:60upx;display: flex;align-items: center;">{{item.needCgNum?parseFloat(item.needCgNum):0}}</view></t-td>
 							</t-tr>
 						</view>
 					</template>

+ 0 - 4
ghsApp/src/pagesPurchase/supplier.vue

@@ -112,10 +112,6 @@ export default {
       T:null
     }
   },
-	onShow(){
-		uni.removeStorageSync('newGhs')
-		this.getGHSList()
-	},
   onPullDownRefresh() {
     this.getGHSList().then(res => {
       uni.stopPullDownRefresh();