lilei 1 年之前
父节点
当前提交
1825250dca

+ 9 - 1
pages/stockQuery/stockQuery.vue

@@ -20,6 +20,10 @@
 					 				库存:<text>{{item.qty}}个</text>
 					 			</view>
 					 		</view>
+							<view class="flex" v-if="item.productTypeSn3=='543766811373752320'" style="padding-top: 5px;">
+								<text style="width: 4.5rem;color: #999;">原厂编码:</text>
+								<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
+							</view>
 					 		<view>{{item.productName}}</view>
 					 	</view>
 					 </view>
@@ -110,6 +114,9 @@
 	.list-box{
 		flex-grow: 1;
 		overflow: auto;
+		/deep/ .u-tag{
+			word-break: break-all;
+		}
 	}
 	.list-item{
 		margin: 20rpx 30rpx;
@@ -135,7 +142,8 @@
 		}
 		.vin-text{
 			.hj-no{
-				background: #f1f1f1;
+				background: #2196F3;
+				color: #ffffff;
 				display: inline-block;
 				border-radius: 10rpx;
 				padding: 0 10rpx;

+ 17 - 10
pagesA/digitalShelf/choosePart.vue

@@ -48,8 +48,8 @@
 						 		</view>
 						 		<view class="item-detail">
 									<view class="item-detail-info">
-										<view class="flex" v-if="isTire">
-											<text class="item-detail-text">原厂编码:</text>
+										<view class="flex" v-if="item.productTypeSn=='543766811373752320'">
+											<text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
 											<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
 										</view>
 										<view class="flex justify_between">
@@ -108,8 +108,8 @@
 							</view>
 							<view class="item-detail">
 								<view class="item-detail-info">
-									<view class="flex" v-if="isTire">
-										<text class="item-detail-text">原厂编码:</text>
+									<view class="flex" v-if="item.productTypeSn=='543766811373752320'">
+										<text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
 										<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
 									</view>
 									<view class="flex justify_between">
@@ -184,8 +184,8 @@
 							</view>
 							<view class="item-detail">
 								<view class="item-detail-info">
-									<view class="flex" v-if="isTire" style="padding-bottom: 5px;">
-										<text class="item-detail-text">原厂编码:</text>
+									<view class="flex" v-if="item.productTypeSn=='543766811373752320'" style="padding-bottom: 5px;">
+										<text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
 										<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
 									</view>
 									<view class="flex justify_between">
@@ -224,6 +224,10 @@
 					<text>产品编码</text>
 					<text>{{tempData.code||'--'}}</text>
 				</view>
+				<view v-if="tempData.productTypeSn=='543766811373752320'">
+					<text>原厂编码</text>
+					<text>{{tempData.origCode||'--'}}</text>
+				</view>
 				<view>
 					<text>产品名称</text>
 					<text>{{tempData.name||'--'}}</text>
@@ -281,10 +285,6 @@
 			modelLabel(){
 				return this.carInfo&&this.carInfo.text||''
 			},
-			isTire(){
-				const a = this.leve2Data.find(item => item.id == this.curLeve2)
-				return a && a.label.indexOf("轮胎")>=0
-			},
 			cartNums(){
 				let ret = 0
 				this.partListData.map(item => {
@@ -535,6 +535,7 @@
 					code: item.code,
 					origCode: item.origCode,
 					qty: item.qty,
+					productTypeSn: item.productTypeSn,
 					images: item.images,
 					checked: true,
 					affiliation: item.affiliation
@@ -819,6 +820,9 @@
 						.item-detail{
 							.item-detail-info{
 								padding: 10upx 0 4upx;
+								/deep/ .u-tag{
+									word-break: break-all;
+								}
 								> view{
 									padding-bottom: 10rpx;
 									align-items: center;
@@ -921,6 +925,9 @@
 			.item-detail{
 				.item-detail-info{
 					padding: 10upx 0 4upx;
+					/deep/ .u-tag{
+						word-break: break-all;
+					}
 					> view{
 						padding-bottom: 20rpx;
 						align-items: center;

+ 1 - 1
pagesA/qualityPolicy/orderDetail.vue

@@ -12,7 +12,7 @@
 							<image :src="detail.productMsg"></image>
 						</view>
 					</view>
-					<view class="uuid-info">
+					<view class="uuid-info" style="width: 100%;">
 						<view class="uuid" style="margin-top: 0.2rem;">唯一码:{{detail.traceCode}}</view>
 						<view class="uuid">质保时间:{{detail.warrantyStartDate.split(' ')[0]}}至{{detail.warrantyEndDate.split(' ')[0]}}</view>
 					</view>

+ 2 - 2
pagesA/qualityPolicy/searchOrder.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="pages flex flex_column">
 		<view class="search-box">
-			<u-search placeholder="请输入轮胎唯一码/手机号码" v-model="queryWord" @search="pageInit" @custom="pageInit"></u-search>
+			<u-search placeholder="请输入唯一码/手机号码" v-model="queryWord" @search="pageInit" @custom="pageInit"></u-search>
 		</view>
 		<view class="uuid-listbox">
 			<scroll-view scroll-y style="height: 100%;width: 100%;overflow: auto;" @scrolltolower="onreachBottom">
@@ -20,7 +20,7 @@
 									<image :src="item.productMsg"></image>
 								</view>
 							</view>
-							<view class="uuid-info">
+							<view class="uuid-info" style="width: 100%;">
 								<view class="uuid" style="margin-top: 0.2rem;">唯一码:{{item.traceCode}}</view>
 								<view class="uuid">质保时间:{{item.warrantyStartDate.split(' ')[0]}}至{{item.warrantyEndDate.split(' ')[0]}}</view>
 								<view class="uuid">手机号码:{{item.customMobile}}</view>

+ 4 - 1
pagesA/queryByCode/confirmQh.vue

@@ -4,7 +4,7 @@
 			 <view><u-image :src="nowData.images" border-radius="16" width="160" height="160" bg-color="#EBEBEB"></u-image></view>
 			 <view style="display: block;"><text class="item-no">{{ nowData.shelfPlaceCode }}</text><text>{{ nowData.code }}</text></view>
 			 <view class="flex align_center" v-if="nowData.productTypeSn=='543766811373752320'" style="padding-top: 5px;">
-			 	<text class="item-detail-text">原厂编码:</text>
+			 	<text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
 			 	<u-tag :text="nowData.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
 			 </view>
 			 <view class="item-name">
@@ -140,6 +140,9 @@
 		.item-detail-text{
 			color: #999;
 		}
+		/deep/ .u-tag{
+			word-break: break-all;
+		}
 		> view{
 			text-align: center;
 			display: flex;

+ 4 - 1
pagesA/queryByCode/queryByCode.vue

@@ -30,7 +30,7 @@
 									<view class="code"><text>{{item.shelfPlaceCode}}</text>{{item.code}}</view>
 								</view>
 								<view class="flex align_center" v-if="item.productTypeSn=='543766811373752320'" style="padding-top: 5px;">
-									<text class="item-detail-text">原厂编码:</text>
+									<text class="item-detail-text" style="width: 4.5rem;">原厂编码:</text>
 									<u-tag :text="item.origCode" mode="light" borderColor="#ffffff" type="warning" size="large"></u-tag>
 								</view>
 								<view class="ptxt">
@@ -243,6 +243,9 @@
 				.pinfo{
 					flex-grow: 1;
 					padding-left: 20rpx;
+					/deep/ .u-tag{
+						word-break: break-all;
+					}
 					.item-detail-text{
 						color: #999;
 					}