|
|
@@ -122,7 +122,8 @@
|
|
|
import semiProductBom from './components/semiProductBom'
|
|
|
import {
|
|
|
workorderList,
|
|
|
- listOutsourceInWarehouse
|
|
|
+ listOutsourceInWarehouse,
|
|
|
+ listOutsource
|
|
|
} from '@/api/pda/workOrder.js'
|
|
|
|
|
|
import {
|
|
|
@@ -163,13 +164,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
- this.getList()
|
|
|
+
|
|
|
|
|
|
if (this.idsList.length == 1) {
|
|
|
this.getPick()
|
|
|
}
|
|
|
|
|
|
|
|
|
+ if(this.isOutsource == 1) {
|
|
|
+ this.getListOutsource()
|
|
|
+ } else {
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
},
|
|
|
@@ -364,6 +371,17 @@
|
|
|
this.$forceUpdate()
|
|
|
|
|
|
},
|
|
|
+
|
|
|
+ getListOutsource() {
|
|
|
+ let param = {
|
|
|
+ workOrderId: this.idsList,
|
|
|
+ taskId: this.taskId
|
|
|
+ }
|
|
|
+
|
|
|
+ listOutsource(param).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
|
|
|
|