|
|
@@ -54,7 +54,7 @@
|
|
|
|
|
|
<view class='flex_btn' @click="openDetails(item.workOrderId)">出库单</view>
|
|
|
|
|
|
- <view class="operate_box ">
|
|
|
+ <view :class="[ idsList.length == 1 ? 'operate_box' :'operate_box2'] ">
|
|
|
|
|
|
<u-button size="small" class="u-reset-button" type="success"
|
|
|
@click="handAdd(item.workOrderId)">手动添加</u-button>
|
|
|
@@ -293,7 +293,6 @@
|
|
|
m.revolvingDiskList = [] // 周转盘
|
|
|
m.semiProductList = [] //半成品
|
|
|
|
|
|
-
|
|
|
if (m.pickOutInList.length > 0) {
|
|
|
m.pickOutInList.forEach(f => {
|
|
|
|
|
|
@@ -330,9 +329,6 @@
|
|
|
m.product = '{}'
|
|
|
}
|
|
|
|
|
|
- console.log(m)
|
|
|
-
|
|
|
-
|
|
|
|
|
|
delete m.id
|
|
|
if (this.taskId) {
|
|
|
@@ -566,7 +562,26 @@
|
|
|
}
|
|
|
|
|
|
feedGetCache(parma).then(res => {
|
|
|
- console.log(33,res)
|
|
|
+ if (res.length == 0) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ let objList = res[0].extInfo.objList
|
|
|
+ this.List.forEach(f => {
|
|
|
+ objList.forEach(o => {
|
|
|
+ if (f.workOrderId == o.workOrderId && f.taskId == o.taskId) {
|
|
|
+ f['instanceList'] = o.instanceList || []
|
|
|
+ f['equipmentList'] = o.equipmentList || []
|
|
|
+ f['modelList'] = o.modelList || []
|
|
|
+ f['aridRegionList'] = o.aridRegionList || []
|
|
|
+ f['packingList'] = o.packingList || []
|
|
|
+ f['palletList'] = o.palletList || []
|
|
|
+ f['instanceList'] = o.instanceList || []
|
|
|
+ f['revolvingDiskList'] = o.revolvingDiskList || []
|
|
|
+ f['semiProductList'] = o.semiProductList || []
|
|
|
+ this.$forceUpdate()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
|
|
|
@@ -662,14 +677,15 @@
|
|
|
opacity: 0.6;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .operate_box2 {
|
|
|
- /deep/ .u-button {
|
|
|
- margin-top: 20rpx;
|
|
|
- width: 150rpx;
|
|
|
-
|
|
|
- }
|
|
|
+
|
|
|
+ .operate_box2 {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ /deep/ .u-button {
|
|
|
+ margin-top: 20rpx;
|
|
|
+ width: 150rpx;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|