소스 검색

物料重量可以编辑

longfenglin 1 년 전
부모
커밋
71362b47af
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      pages/pda/feeding/components/semiProductBom.vue

+ 5 - 2
pages/pda/feeding/components/semiProductBom.vue

@@ -75,8 +75,11 @@
 						<view class="rx ww50">
 							<view class="lable  rx-cc">{{ currentTaskDiagram.isFirstTask == 1 ? '物料重量' : '上道重量' }}
 							</view>
-							<view class="content" v-if="currentTaskDiagram.isFirstTask == 1">
-								{{ mate.extInfo.weight || 0 }} {{ mate.extInfo.weightUnit }}
+							<view class="content content_num" v-if="currentTaskDiagram.isFirstTask == 1">
+								  <!--{{ mate.extInfo.weight || 0 }} {{ mate.extInfo.weightUnit }}-->
+								<input class="uni-input" style="width: 120rpx;" v-model="mate.extInfo.weight"
+									type="digit"></input>
+								<view class="unit ">/{{ mate.extInfo.weightUnit }}</view>
 							</view>
 							<view class="content" v-if="currentTaskDiagram.isFirstTask == 0">
 								{{ mate.extInfo.newWeight || 0 }} {{ mate.extInfo.weightUnit }}