Browse Source

feat: update 下拉接口问题

master
TengXF 6 months ago
parent
commit
bbb9e76ada
  1. 2
      src/pages/mes/workScheduling/callMaterial.vue
  2. 6
      src/pages/mes/workScheduling/workScheduling.vue

2
src/pages/mes/workScheduling/callMaterial.vue

@ -59,7 +59,7 @@ const status = ref('loadmore') //是否显示没有更多了
const workingNodeStr = ref('') const workingNodeStr = ref('')
const planMasterCodeStr = ref('') const planMasterCodeStr = ref('')
const schedulingCodeStr = ref('') const schedulingCodeStr = ref('')
const planCountStr = ref('') const planCountStr = ref()
const workroomCodeStr = ref('') const workroomCodeStr = ref('')
const list = ref([]) const list = ref([])

6
src/pages/mes/workScheduling/workScheduling.vue

@ -328,7 +328,8 @@
status.value = 'loading' status.value = 'loading'
getViewList() getViewList()
} }
else {
if (falg.value == 'call') {
status.value = 'loading' status.value = 'loading'
getRequestList() getRequestList()
} }
@ -394,7 +395,7 @@
tabParams.value.flagDo = ''; tabParams.value.flagDo = '';
current.value = index; current.value = index;
tabParams.value.pageNo = 1; tabParams.value.pageNo = 1;
falg.value == 'tab'
switch (index) { switch (index) {
case 0: case 0:
tabParams.value.status = ''; tabParams.value.status = '';
@ -410,6 +411,7 @@
tabParams.value.status = '1'; tabParams.value.status = '1';
break; break;
case 4: case 4:
falg.value == 'call'
list.value = []; list.value = [];
status.value = 'loading'; status.value = 'loading';
tabParams.value.status = '0'; tabParams.value.status = '0';

Loading…
Cancel
Save