|
|
@@ -48,7 +48,7 @@
|
|
|
<view class="content ">{{mate.brandNum}}</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="rx ww45" >
|
|
|
+ <view class="rx ww45">
|
|
|
<view class="lable rx-cc ww80">数量</view>
|
|
|
<view class="content content_num">
|
|
|
<input class="uni-input" v-model="mate.demandQuantity" type="digit"></input>
|
|
|
@@ -74,12 +74,13 @@
|
|
|
|
|
|
<view>
|
|
|
<instanceBom :list='item.instanceList'></instanceBom>
|
|
|
-
|
|
|
- <modelBom v-if='item.modelList.length != 0' :workOrderId='item.workOrderId' :list='item.modelList' >
|
|
|
- </modelBom>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+ <modelBom v-if='item.modelList.length != 0' :workOrderId='item.workOrderId'
|
|
|
+ :list='item.modelList'>
|
|
|
+ </modelBom>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
@@ -99,7 +100,7 @@
|
|
|
|
|
|
<script>
|
|
|
import instanceBom from './components/instanceBom.vue'
|
|
|
- import modelBom from './components/modelBom.vue'
|
|
|
+ import modelBom from '../feeding/components/modelBom.vue'
|
|
|
import {
|
|
|
workorderList
|
|
|
} from '@/api/pda/workOrder.js'
|
|
|
@@ -148,10 +149,10 @@
|
|
|
selectList.forEach(f => {
|
|
|
if (f.rootCategoryLevelId == 1) {
|
|
|
instanceList = instanceList.concat(f)
|
|
|
- } else if(f.rootCategoryLevelId == 5) {
|
|
|
+ } else if (f.rootCategoryLevelId == 5) {
|
|
|
modelList = modelList.concat(f)
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
|
|
|
@@ -195,7 +196,7 @@
|
|
|
ids: this.idsList,
|
|
|
taskId: this.taskId
|
|
|
}).then(res => {
|
|
|
-
|
|
|
+
|
|
|
|
|
|
this.List = res.map(m => {
|
|
|
m.workOrderId = m.id
|
|
|
@@ -211,12 +212,12 @@
|
|
|
})
|
|
|
},
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
addPicking(id, item) {
|
|
|
const storageKey = Date.now() + "";
|
|
|
-
|
|
|
- let arr = [...item.instanceList, ...item.modelList]
|
|
|
+
|
|
|
+ let arr = [...item.instanceList, ...item.modelList]
|
|
|
uni.setStorageSync(storageKey, arr);
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/pda/workOrder/search/index?id=${id}&storageKey=${storageKey}&isType=pick`
|