shish 3 лет назад
Родитель
Сommit
70688fc102

+ 9 - 11
ghsApp/src/pagesStorehouse/inventory/details.vue

@@ -24,10 +24,10 @@
 			<view class="space-view ex-table">
 				<t-table>
 					<t-tr header>
-						<t-th><view style="width:245upx;text-align:left;">名称</view></t-th>
-						<t-th><view style="text-align:left;">盘点前</view></t-th>
-						<t-th><view style="text-align:left;">盘点后</view></t-th>
-						<t-th><view style="text-align:left;">盈亏数</view></t-th>
+						<t-th><view style="width:245upx;text-align:left;color: #333333;">名称</view></t-th>
+						<t-th><view style="text-align:left;color: #333333;">盘点前</view></t-th>
+						<t-th><view style="text-align:left;color: #333333;">盘点后</view></t-th>
+						<t-th><view style="text-align:left;color: #333333;">盈亏数</view></t-th>
 					</t-tr>
 					<t-tr v-for="(item, index) in dataInfo.itemInfo || []" :key="index">
 
@@ -35,25 +35,23 @@
 								<view v-if="column.custom == 'icon'" class="list-icon" style="width:245upx;">
 									<image class="icon-image" :src="item.itemCover" @click.stop="goToStockDetail(item.id)" />
 									<view class="icon-info" @click.stop="goToStockDetail(item.id)">
-										<view class="info-name">
-											{{ item.itemName }}
-										</view>
+										<view class="info-name"> {{ item.itemName }} </view>
 										<view class="info-type"></view>
 									</view>
 								</view>
-								<view v-else-if="column.custom == 'stock'" @click.stop="goToStockDetail(item.id)">
+								<view v-else-if="column.custom == 'stock'" @click.stop="goToStockDetail(item.id)" style="color: #333333;">
 									<text>{{ item.bigNumStock }}扎</text>
 									<text>{{ item.smallNumStock }}支</text>
 								</view>
-								<view v-else-if="column.custom == 'inventory'" @click.stop="goToStockDetail(item.id)">
+								<view v-else-if="column.custom == 'inventory'" @click.stop="goToStockDetail(item.id)" style="color: #333333;">
 									<text>{{ item.bigNum }}扎</text>
 									<text>{{ item.smallNum }}支</text>
 								</view>
-								<view v-else-if="column.custom == 'profit'" @click.stop="goToStockDetail(item.id)">
+								<view v-else-if="column.custom == 'profit'" @click.stop="goToStockDetail(item.id)" style="color: #333333;">
 									<text>{{ item.bigNumProfitLoss }}扎</text>
 									<text>{{ item.smallNumProfitLoss }}支</text>
 								</view>
-								<view v-else @click.stop="goToStockDetail(item.id)">{{ item[column.dataIndex] || "" }}</view>
+								<view v-else @click.stop="goToStockDetail(item.id)" style="color: #333333;">{{ item[column.dataIndex] || "" }}</view>
 							</t-td>
 
 					</t-tr>

+ 1 - 4
ghsApp/src/pagesStorehouse/inventory/list.vue

@@ -5,7 +5,7 @@
 			<block v-if="!$util.isEmpty(list.data)">
 				<view class="allot-item" v-for="(item, index) in list.data" :key="index" @click="gotoDetailsEvent(item)" >
 					<view class="info">
-						<view class="info-order">{{ item.orderSn }}</view>
+						<view class="info-order">{{ item.updateTime.substr(5,11) }}</view>
 						<view class="info-name">{{ item.remark }}</view>
 						<view style="margin-bottom: 10upx">
 							<text class="info-time">人员:{{ item.adminName }}</text>
@@ -14,9 +14,6 @@
 							<text class="info-time" style="margin: 0">数量:{{item.bigNum}}扎</text>
 							<text class="info-time" style="margin: 0">{{ item.smallNum }}支</text>
 						</view>
-						<view>
-							<text class="info-time">时间:{{ item.updateTime.substr(5,11) }}</text>
-						</view>
 					</view>
 				</view>
 			</block>

+ 7 - 7
ghsApp/src/pagesStorehouse/inventory/update.vue

@@ -5,9 +5,9 @@
 				<block v-if="!$util.isEmpty(selectList)">
 					<view class="table-view">
 						<view class="table-header" >
-							<view class="table-th" style="width:330upx;">名称</view>
-							<view class="table-th" style="width:150upx;">盘点前</view>
-							<view class="table-th" style="width:150upx;">盘点后</view>
+							<view class="table-th" style="width:330upx;color: #333333;">名称</view>
+							<view class="table-th" style="width:150upx;color: #333333;">盘点前</view>
+							<view class="table-th" style="width:150upx;color: #333333;">盘点后</view>
 						</view>
 						<view class="table-tr" v-for="(item, index) in selectList" :key="index">
 							<view class="table-td" v-for="(column, columnIndex) in columns" :key="columnIndex">
@@ -15,12 +15,12 @@
 									<image class="icon-image" :src="item.cover" />
 									<view class="icon-info"> <view class="info-name"> {{ item.itemName }} </view> </view>
 								</view>
-								<view v-else-if="column.custom == 'stock'" style="width:150upx;">
-									<text v-if="Number(item.bigNum)>0">{{ `${item.bigNum}` }}扎</text>
+								<view v-else-if="column.custom == 'stock'" style="width:150upx;color: #333333;">
+									<text>{{ item.bigNum }}扎</text>
 									<text v-if="Number(item.smallNum)>0">{{ item.smallNum }}支</text>
 								</view>
-								<view v-else-if="column.custom == 'inventory'" style="width:150upx;">
-									<text v-if="Number(item.bigCount)>0">{{item.bigCount==99999?0:item.bigCount}}扎</text>
+								<view v-else-if="column.custom == 'inventory'" style="width:150upx;color: #333333;">
+									<text>{{item.bigCount==99999?0:item.bigCount}}扎</text>
 									<text v-if="Number(item.smallCount)>0">{{ item.smallCount }}支</text>
 								</view>
 							</view>