Browse Source

采购显示

shish 3 years ago
parent
commit
670e949c17
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ghsApp/src/pagesPurchase/components/pageSuccess.vue

+ 2 - 2
ghsApp/src/pagesPurchase/components/pageSuccess.vue

@@ -20,7 +20,7 @@
 								<view class="first-area">
 									<view style="margin-bottom:6upx;">
 										<text class="name" @click="pageTo({url:'/admin/item/detail?id='+ res.productId})">
-											{{res.name}}
+											{{res.name?res.name.substr(0,11):''}}
 											<text style="color:red;margin-left:40upx;font-weight:normal;">¥{{res.bigPrice?parseFloat(res.bigPrice):0}}</text>
 											<text style="color:red;margin-left:40upx;font-weight:normal;">¥{{res.cost?parseFloat(res.cost):0}}</text>
 											<text style="float:right;color:green;">...</text>
@@ -226,7 +226,7 @@ export default {
 		border-bottom:1upx solid #e4e2e2;
 		position:relative;
 		.name{
-			width:560upx;
+			width:590upx;
 			overflow: hidden;
 			text-overflow:ellipsis;
 			white-space: nowrap;