Jelajahi Sumber

列表颜色

shish 3 tahun lalu
induk
melakukan
b585c522c1

+ 14 - 5
ghsApp/src/admin/stat/stock.vue

@@ -19,7 +19,7 @@
 								<block v-if="classItem.child && !$util.isEmpty(classItem.child)">
 									<t-tr>
 										<t-td>
-											<text style="color:#3385FF;font-weight:bold;width:220upx;text-align:left;">
+											<text style="color:#3385FF;font-weight:bold;width:280upx;text-align:left;">
 												{{ classItem.className }}
 											</text>
 										</t-td>
@@ -30,13 +30,22 @@
 										<block v-for="(productItem, productIndex) in classItem.child" :key="productIndex">
 											<t-tr>
 												<t-td>
-													<view style="width:220upx;text-align:left;color:#333333;font-size:30upx;">
+													<view style="width:280upx;text-align:left;color:#333333;font-size:30upx;
+													overflow: hidden; white-space: nowrap; text-overflow: ellipsis;">
 														{{productItem.name}}
 													</view>
 												</t-td>
-												<t-td><view style="color:#333333;font-weight:bold;">{{productItem.stock?parseFloat(productItem.stock):0}}</view></t-td>
-												<t-td><view>{{productItem.price?parseFloat(productItem.price):0}}</view></t-td>
-												<t-td><view>{{productItem.skPrice?parseFloat(productItem.skPrice):0}}</view></t-td>
+												<t-td><view style="color:#333333;font-weight:bold;font-size:30upx;">{{productItem.stock?parseFloat(productItem.stock):0}}</view></t-td>
+												<t-td>
+													<view style="font-size:30upx;">
+														{{productItem.price?parseFloat(productItem.price):0}}
+													</view>
+												</t-td>
+												<t-td>
+													<view style="font-size:30upx;">
+														{{productItem.skPrice?parseFloat(productItem.skPrice):0}}
+													</view>
+												</t-td>
 											</t-tr>
 										</block>
 									</template>

+ 10 - 10
ghsApp/src/pagesStorehouse/stockWarn/detailed.vue

@@ -6,23 +6,23 @@
 				<block v-if="!$util.isEmpty(list.data)">
 					<t-table :headerBackgroundColor="'#F0F2F6'">
 						<t-tr header>
-							<t-th><view style="width:150upx;">时间</view></t-th>
-							<t-th>名称</t-th>
-							<t-th><view style="width:180upx;">事项</view></t-th>
-							<t-th>变动</t-th>
-							<t-th>剩余</t-th>
+							<t-th><view style="width:160upx;color:#333333;font-size:30upx;font-weight:bold;">时间</view></t-th>
+							<t-th><view style="color:#333333;font-size:30upx;font-weight:bold;">名称</view></t-th>
+							<t-th><view style="width:180upx;color:#333333;font-size:30upx;font-weight:bold;">事项</view></t-th>
+							<t-th><view style="color:#333333;font-size:30upx;font-weight:bold;">变动</view></t-th>
+							<t-th><view style="color:#333333;font-size:30upx;font-weight:bold;">剩余</view></t-th>
 						</t-tr>
 						<t-tr v-for="(item, index) in list.data" :key="index">
 							<t-td align="center" color="info">
-								<view style="width:150upx;">
+								<view style="width:160upx;color:#333333;font-size:30upx;">
 									<view>{{ item.addTime.substr(5,11) }}</view>
 									<view>{{item.ptStyle==1?'零售':'批发'}}</view>
 								</view>
 							</t-td>
-							<t-td><view>{{item.relateName}}</view></t-td>
-							<t-td><view style="width:180upx;">{{item.typeName}}</view></t-td>
-							<t-td><view>{{parseFloat(item.itemNum)}}</view></t-td>
-							<t-td><view>{{parseFloat(item.newStock)}}</view></t-td>
+							<t-td><view style="color:#333333;font-size:30upx;">{{item.relateName}}</view></t-td>
+							<t-td><view style="width:180upx;color:#333333;font-size:30upx;">{{item.typeName}}</view></t-td>
+							<t-td><view style="color:#333333;font-size:30upx;">{{parseFloat(item.itemNum)}}</view></t-td>
+							<t-td><view style="color:#333333;font-size:30upx;">{{parseFloat(item.newStock)}}</view></t-td>
 						</t-tr>
 					</t-table>
 				</block>