lilei 3 năm trước cách đây
mục cha
commit
2c5eed7c57
2 tập tin đã thay đổi với 22 bổ sung22 xóa
  1. 20 20
      pages/digitalShelf/choosePart.vue
  2. 2 2
      pages/digitalShelf/stockPut.vue

+ 20 - 20
pages/digitalShelf/choosePart.vue

@@ -47,27 +47,27 @@
 						 			<text>{{item.name}}</text>
 						 		</view>
 						 		<view class="item-detail">
-						 			<view class="item-detail-info">
-						 				<view class="flex justify_between">
-						 					<text class="item-detail-text flex_1">{{item.code}}</text>
-						 					<text class="item-detail-text">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
-						 				</view>
-						 				<view class="flex justify_between">
-						 					<view class="item-detail-text flex_1">
-						 						<text class="item-price">¥{{item.price||0}}</text>
-						 					</view>
-						 					<view class="item-detail-text" v-if="item.currentInven">
-						 						<u-button shape="circle" @click="addPart(item)" v-if="!item.checked" :custom-style="{width:'48upx',height:'48upx'}" type="primary" size="mini">
-						 							<u-icon name="plus" color="#fff" size="28"></u-icon>
-						 						</u-button>
-						 						<u-number-box v-else @change="updateVinNums" v-model="item.qty" :index="item.productSn" :min="0" :max="item.currentInven"></u-number-box>
-						 					</view>
-						 					<view class="item-detail-text" v-if="item.affiliation=='SUPER_CATALOGUE'||!item.currentInven">
-						 						<text v-if="!item.checked" @click="addPart(item)" class="phtxt">我要临配</text>
+									<view class="item-detail-info">
+										<view class="flex justify_between">
+											<text class="item-detail-text flex_1">{{item.code}}</text>
+											<text class="item-detail-text" v-if="item.affiliation=='SHELF'">库存:{{item.currentInven?item.currentInven:0}} {{item.unit}}</text>
+										</view>
+										<view class="flex justify_between">
+											<view class="item-detail-text flex_1">
+												<text class="item-price" v-if="item.affiliation=='SHELF'">¥{{item.price||0}}</text>
+											</view>
+											<view class="item-detail-text" v-if="item.currentInven">
+												<u-button shape="circle" @click="addPart(item)" v-if="!item.checked" :custom-style="{width:'48upx',height:'48upx'}" type="primary" size="mini">
+													<u-icon name="plus" color="#fff" size="28"></u-icon>
+												</u-button>
+												<u-number-box v-else @change="updateVinNums" v-model="item.qty" :index="item.productSn" :min="0" :max="item.currentInven"></u-number-box>
+											</view>
+											<view class="item-detail-text" v-if="item.affiliation=='SUPER_CATALOGUE'||!item.currentInven">
+												<text v-if="!item.checked" @click="addPart(item)" class="phtxt">我要临配</text>
 												<u-number-box v-else @change="updateVinNums" v-model="item.qty" :index="item.productSn" :min="0"></u-number-box>
-						 					</view>
-						 				</view>
-						 			</view>
+											</view>
+										</view>
+									</view>
 						 			<view class="nav-right-item-btns flex align_center justify_between">
 						 				<view>
 						 				</view>

+ 2 - 2
pages/digitalShelf/stockPut.vue

@@ -27,10 +27,10 @@
 											  {{item.dealerName||'--'}}
 										  </view>
 										  <view class="carVin" v-if="item.billState=='WAIT_CHECK'">
-											待入库数量:<text>{{item.totalConfirmQty||item.totalConfirmQty==0?item.totalConfirmQty:'--'}}</text>
+											待入库数量:<text>{{item.totalConfirmQty||item.totalConfirmQty==0?item.totalConfirmQty:'--'}}</text>
 										  </view>
 										  <view class="carVin" v-if="item.billState=='FINISH'">
-										  	入库数量:<text>{{item.totalPutQty||item.totalPutQty==0?item.totalPutQty:'--'}}</text>
+										  	入库数量:<text>{{item.totalPutQty||item.totalPutQty==0?item.totalPutQty:'--'}}</text>
 										  </view>
 									 </view>
 									 <view>