Browse Source

bug 修复

lilei 2 years ago
parent
commit
bdf9eb8f2f
1 changed files with 20 additions and 1 deletions
  1. 20 1
      pages/digitalShelf/choosePartResult.vue

+ 20 - 1
pages/digitalShelf/choosePartResult.vue

@@ -80,7 +80,7 @@
 					</view>
 				</view>
 			</view>
-			<view class="info" v-if="info && info.shelfOrder && state == 1">
+			<view class="info" v-if="info && info.shelfOrder && state == 1 && current == 0">
 				<view class="infoList">
 					<view class="title">单据信息</view>
 					<view class="statu"></view>
@@ -98,6 +98,24 @@
 					<text>{{info.shelfOrder.orderPersonName || '--'}}</text>
 				</view>
 			</view>
+			<view class="info" v-if="info && info.shelfTempBill && state == 1 && current == 1">
+				<view class="infoList">
+					<view class="title">单据信息</view>
+					<view class="statu"></view>
+				</view>
+				<view class="infoList">
+					<text>订单编号</text>
+					<text>{{info.shelfTempBill.tempNo||'--'}}</text>
+				</view>
+				<view class="infoList">
+					<text>下单时间</text>
+					<text>{{info.shelfTempBill.tempDate||'--'}}</text>
+				</view>
+				<view class="infoList">
+					<text>下单人员</text>
+					<text>{{info.shelfTempBill.personName || '--'}}</text>
+				</view>
+			</view>
 		</view>
 	</view>
 </template>
@@ -127,6 +145,7 @@
 	   onLoad(option) { 
 		  this.info = option.data?JSON.parse(decodeURIComponent(option.data)):null
 		  this.state = option.state
+		  console.log(this.info,'-------------')
 		  if(option.state==1){
 			  this.statusText = '提交成功'
 			  this.statusIcon = 'checkmark-circle'