소스 검색

添加入庫單審核明細

wangchao 2 년 전
부모
커밋
be3267c542
1개의 변경된 파일86개의 추가작업 그리고 6개의 파일을 삭제
  1. 86 6
      pages/task/audit/warehouse_warrant.vue

+ 86 - 6
pages/task/audit/warehouse_warrant.vue

@@ -20,9 +20,21 @@
 		</view>
 
 		<view class="content1">
-			<!-- 	<view class="title">
-				销售外勤 张三
-			</view> -->
+			<view class="title ">
+				基本信息
+			</view>
+			<view class="row">
+				<view class="left">情况日期</view>
+				<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
+			</view>
+			<view class="row">
+				<view class="left">请款人</view>
+				<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
+			</view>
+			<view class="row">
+				<view class="left">所属仓库 </view>
+				<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
+			</view>
 			<view class="row">
 				<view class="left">合计重量(吨)</view>
 				<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
@@ -32,6 +44,42 @@
 				<view class="right">{{auditInfo.requestFundsTotal}}</view>
 			</view>
 
+		</view>
+
+		<view class="content1">
+			<view class="title ">
+				支付明细
+			</view>
+			<view class="mx-content" v-for="item in 3">
+				<view class="name">
+					张三
+				</view>
+				<view class="mx-bottom">
+					<view class="mx-row1">
+						<view class="mx-item">
+							玉米
+						</view>
+						<view class="mx-item">
+							平均容重720
+						</view>
+						<view class="mx-item">
+							平均水分14
+						</view>
+					</view>
+					<view class="mx-row2">
+						<view class="mx-item">
+							100吨
+						</view>
+						<view class="mx-item">
+							2000元/吨
+						</view>
+						<view class="mx-item">
+							200000元
+						</view>
+					</view>
+				</view>
+			</view>
+
 		</view>
 		<view class="content1" v-if="url && url != 'ng'">
 			<view class="title ">
@@ -166,18 +214,22 @@
 				// 	}
 				// })
 				this.$api.doRequest('post', '/warehousingOrder/exportPhone', {
-					batchId:this.id,searchType: 1,
+					batchId: this.id,
+					searchType: 1,
 				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.url = res1.data.data
 					}
 				})
-				this.$api.doRequest('post', '/warehousingOrder/exportPhoneData', {searchType: 1,batchId:this.id}).then(res1 => {
+				this.$api.doRequest('post', '/warehousingOrder/exportPhoneData', {
+					searchType: 1,
+					batchId: this.id
+				}).then(res1 => {
 					if (res1.data.code == 200) {
 						this.auditInfo = res1.data.data
 						this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
 							.amountIngPayableTotal)
-							uni.hideLoading()
+						uni.hideLoading()
 					}
 				})
 				// this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
@@ -633,4 +685,32 @@
 	/deep/.u-input__textarea {
 		height: 300rpx !important;
 	}
+
+	.mx-content {
+		background: #F9F9FA;
+		padding: 30rpx;
+		box-sizing: border-box;
+		margin-top: 20rpx;
+		border-radius: 20rpx;
+
+		.name {
+			font-size: 32rpx;
+			font-weight: 700;
+			border-bottom: 1px solid #EEEEEE;
+			padding-bottom: 8rpx;
+		}
+
+		.mx-row1,
+		.mx-row2 {
+			display: flex;
+			justify-content: space-between;
+			margin-top: 20rpx;
+		}
+
+		.mx-item {
+			// width: 33%;
+			// text-align: center;
+		}
+
+	}
 </style>