ysy 2 лет назад
Родитель
Сommit
220d0d4fe4

+ 17 - 10
.hbuilderx/launch.json

@@ -4,16 +4,23 @@
     "version" : "0.0",
     "version" : "0.0",
     "configurations" : [
     "configurations" : [
         {
         {
-            "app-plus" : {
-                "launchtype" : "local"
-            },
-            "default" : {
-                "launchtype" : "local"
-            },
-            "h5" : {
-                "launchtype" : "local"
-            },
-            "type" : "uniCloud"
+        	"app-plus" : 
+        	{
+        		"launchtype" : "local"
+        	},
+        	"default" : 
+        	{
+        		"launchtype" : "local"
+        	},
+        	"h5" : 
+        	{
+        		"launchtype" : "local"
+        	},
+        	"mp-weixin" : 
+        	{
+        		"launchtype" : "local"
+        	},
+        	"type" : "uniCloud"
         },
         },
         {
         {
             "playground" : "standard",
             "playground" : "standard",

+ 4 - 4
pages/pda/jobBooking/components/oneJobQualityBom.vue

@@ -137,7 +137,7 @@
 
 
 			<view class="content_table2">
 			<view class="content_table2">
 				<view class="head row rx-sc">
 				<view class="head row rx-sc">
-					<view class="item ww25">物料重量 {{it.extInfo.weightUnit}}</view>
+					<view class="item ww25">{{it.extInfo.newWeight ? '工序重量' : '物料重量'  }} {{it.extInfo.weightUnit}}</view>
 					<view class="item ww25">报工重量{{it.extInfo.weightUnit}}</view>
 					<view class="item ww25">报工重量{{it.extInfo.weightUnit}}</view>
 					<view class="item ww25" v-if="isFirstTask == 1">质检结果
 					<view class="item ww25" v-if="isFirstTask == 1">质检结果
 					</view>
 					</view>
@@ -149,11 +149,11 @@
 				<view class="table">
 				<view class="table">
 
 
 					<view class="tr row rx-sc">
 					<view class="tr row rx-sc">
-						<view class="item ww25">{{it.extInfo.weight }}
+						<view class="item ww25">{{it.extInfo.newWeight ? it.extInfo.newWeight :  it.extInfo.weight  }}
 						</view>
 						</view>
 						<view class="item ww25 content_num">
 						<view class="item ww25 content_num">
-							<view v-if='isDetails'>{{it.extInfo.newWeight }}</view>
-							<input class="uni-input" v-else v-model="it.extInfo.newWeight"></input>
+							<view v-if='isDetails'>{{it.extInfo.reportWeight }}</view>
+							<input class="uni-input" v-else v-model="it.extInfo.reportWeight"></input>
 						</view>
 						</view>
 						<view class="item ww25" @click="openNumerate(it, idx)" v-if="isFirstTask == 1">
 						<view class="item ww25" @click="openNumerate(it, idx)" v-if="isFirstTask == 1">
 							<view class="numerate">点击计算</view>
 							<view class="numerate">点击计算</view>

+ 3 - 0
pages/pda/jobBooking/index/index.vue

@@ -298,6 +298,9 @@
 
 
 					if (res.length >= 1 && res[0].rootCategoryLevelId == 5) { // 磨具
 					if (res.length >= 1 && res[0].rootCategoryLevelId == 5) { // 磨具
 						if (this.objData.modelList.length == 0) {
 						if (this.objData.modelList.length == 0) {
+							
+							
+							
 							this.objData.modelList = res
 							this.objData.modelList = res
 							this.$forceUpdate()
 							this.$forceUpdate()
 						} else {
 						} else {

+ 16 - 2
pages/pda/picking/components/boatBom.vue

@@ -43,12 +43,22 @@
 				</view>
 				</view>
 
 
 				<view class="item">
 				<view class="item">
-					<view class="lable rx-cc">数量</view>
+					<view class="lable rx-cc">数量 </view>
 					<view class="content content_num">
 					<view class="content content_num">
-						<input class="uni-input" v-model="item.demandQuantity" type='digit'></input> {{ item.unit}}
+						<input class="uni-input" style="width: 300rpx;" v-model="item.demandQuantity" type='digit'></input>  {{ item.unit}}  <text style="font-size: 20rpx;margin-left: 18rpx;"> 数量: {{ Number(item.count || 0) * Number(resObj.formingNum) }} </text>
 
 
 					</view>
 					</view>
 				</view>
 				</view>
+				
+				<view class="item">
+					<view class="lable rx-cc">领料仓库</view>
+					<view class="content pd4">
+						<zxz-uni-data-select :localdata="item.warehouseList" v-model="item.warehouseId"
+							dataValue='id' format='{name}' dataKey="name" filterable
+							:clear='false'></zxz-uni-data-select>
+					</view>
+				</view>
+				
 
 
 			</view>
 			</view>
 
 
@@ -80,6 +90,10 @@
 			palletList2: {
 			palletList2: {
 				type: Array,
 				type: Array,
 				default: () => []
 				default: () => []
+			},
+			resObj: {
+				type: Object,
+				default: () => {}
 			}
 			}
 
 
 		},
 		},

+ 4 - 2
pages/pda/picking/details.vue

@@ -79,7 +79,7 @@
 							:modelList2='item.modelList2' :code='item.code' @hendDel='hendDel'>
 							:modelList2='item.modelList2' :code='item.code' @hendDel='hendDel'>
 						</modelBom>
 						</modelBom>
 
 
-						<boatBom :palletList='item.palletList' :palletList2='item.palletList2' :code='item.code'
+						<boatBom :palletList='item.palletList' :palletList2='item.palletList2' :code='item.code' :resObj='item'
 							@hendDel='hendDel'>
 							@hendDel='hendDel'>
 						</boatBom>
 						</boatBom>
 
 
@@ -89,7 +89,8 @@
 						
 						
 						<semiProductBom :list="item.semiProductList2"></semiProductBom>
 						<semiProductBom :list="item.semiProductList2"></semiProductBom>
 					    
 					    
-
+						
+						<view style="height: 80rpx;"></view>
 
 
 						<view class='flex_btn' v-if='isPick' @click="openDetails">已有领料单</view>
 						<view class='flex_btn' v-if='isPick' @click="openDetails">已有领料单</view>
 
 
@@ -252,6 +253,7 @@
 					ids: this.idsList,
 					ids: this.idsList,
 					taskId: this.taskId
 					taskId: this.taskId
 				}).then(res => {
 				}).then(res => {
+					console.log(2,res)
 
 
 					this.List = res.map(m => {
 					this.List = res.map(m => {
 						m.workOrderId = m.id
 						m.workOrderId = m.id