ysy 1 tahun lalu
induk
melakukan
022372d5aa

+ 1 - 0
src/api/pick/pickApply.js

@@ -24,3 +24,4 @@ export async function returnPage(params) {
 
 
 
+returnPage

+ 6 - 4
src/views/pick/pickApply/components/produceOrder-search.vue

@@ -9,6 +9,7 @@
     <el-row :gutter="15">
       <el-col v-bind="styleResponsive ? { lg: 6, md: 12 } : { span: 6 }">
         <el-form-item label="工序名称:">
+  
           <el-select size="mini"   @change="search" v-model="where.taskId"  filterable>
             <el-option
               v-for="(item, index) in produceTaskList"
@@ -45,7 +46,7 @@
 </template>
 
 <script>
-  import { listTask } from '@/api/produce/index';
+  import { produceTask } from '@/api/InTheSystem/index';
   export default {
     props: [],
     data() {
@@ -73,10 +74,11 @@
     },
     methods: {
       getTaskList() {
-        listTask().then((res) => {
-          this.produceTaskList = res;
+        produceTask().then((res) => {
+          this.produceTaskList = res.list;
+          this.where.taskId =  res.list[0].id
+
 
-           this.where.taskId = res[0].id
            if(this.where.taskId) {
             this.$emit('search', this.where);
            }