Browse Source

开发环境

shish 1 day ago
parent
commit
20133d1a07
1 changed files with 22 additions and 5 deletions
  1. 22 5
      ghsApp/src/pagesPurchase/info.vue

+ 22 - 5
ghsApp/src/pagesPurchase/info.vue

@@ -15,6 +15,8 @@
 			</view>
 			<view class="title"> 
 				<text>单据信息</text>
+				<!-- 说明记账时间与入库时间是同一字段,避免和预录时间混淆 -->
+				<text class="title-hint">记账时间就是入库时间</text>
 			</view>
 			<view class="bills-info_box content-box">
 				<view class="order-info_box">
@@ -24,13 +26,13 @@
 						<button @click="openSendTimePicker" class="admin-button-com default">修改</button>
 					</view>
 				</view>
-				<!-- 入库时间为空,或与预录 addTime 相差超过 30 分钟才显示 -->
+				<!-- 记账时间为空,或与预录 addTime 相差超过 30 分钟才显示 -->
 				<view class="order-info_box" v-if="showDraftTime">
 					<view>预录时间:</view>
 					<view>{{ detailInfo.addTime?detailInfo.addTime.substr(2,14):'' }}</view>
 				</view>
 				<view class="order-info_box">
-					<view>入库时间:</view>
+					<view>记账时间:</view>
 					<view>
 						<text v-if="detailInfo.status==4">{{ detailInfo.entryTime?detailInfo.entryTime.substr(2,14):'' }}</text>
 						<text v-else>待入库</text>
@@ -241,8 +243,8 @@
 				<div class="module-com input-line-wrap">
 					<tui-list-cell class="line-cell" :hover="false">
 						<div class="tui-title">备注</div>
-						<textarea style="height: 120upx;width:340upx;" v-model="detailInfo.remark" placeholder="这里写备注"/>
-						<button class="admin-button-com blue mini-btn" @click="modifyRemark(item)" >修改</button>
+						<input type="text" v-model="detailInfo.remark" placeholder="这里写备注" placeholder-class="phcolor" style="width:330upx;margin-right:10upx;" class="tui-input"/>
+						<button class="admin-button-com blue middle" @click="modifyRemark(item)" >修改</button>
 					</tui-list-cell>
 				</div>
 			</view>
@@ -403,7 +405,7 @@ export default {
 			return parseFloat((tk + next).toFixed(2))
 		},
 		/**
-		 * 预录时间 addTime:入库时间 entryTime 为空,或与 addTime 相差超过 30 分钟时才显示。
+		 * 预录时间 addTime:记账时间 entryTime 为空,或与 addTime 相差超过 30 分钟时才显示。
 		 */
 		showDraftTime() {
 			const add = this.detailInfo && this.detailInfo.addTime
@@ -870,6 +872,12 @@ export default {
 		font-size: 28upx;
 		font-weight: 600;
 		padding: 30upx 3upx;
+		.title-hint {
+			margin-left: 16upx;
+			font-size: 24upx;
+			font-weight: 400;
+			color: #999999;
+		}
 	}
 	/* 商品信息标题行:右侧描边操作按钮(无实心底色,对齐 hdApp outline-action) */
 	& > .title-with-actions {
@@ -887,6 +895,15 @@ export default {
 			.outline-action {
 				margin-left: 12upx;
 				margin-bottom: 6upx;
+				/* 加高点击区域;用固定行高居中文字,不用 flex,避免各端 button 垂直对齐不一致 */
+				height: 72upx;
+				line-height: 72upx;
+				padding-top: 0;
+				padding-bottom: 0;
+				padding-left: 20upx;
+				padding-right: 20upx;
+				box-sizing: border-box;
+				text-align: center;
 			}
 		}
 	}