Browse Source

feat: update 修改待配料tab页面,搜索框不生效问题

master
TengXF 6 months ago
parent
commit
fdc5ee1b11
  1. 3
      src/pages/mes/workScheduling/workScheduling.vue

3
src/pages/mes/workScheduling/workScheduling.vue

@ -237,6 +237,7 @@
flag: null, flag: null,
flagDo: '', flagDo: '',
planMasterCode:'', planMasterCode:'',
planDayCode:''
// createTime: [getFormattedDate(twoDaysAgo), getFormattedDate(today)] // createTime: [getFormattedDate(twoDaysAgo), getFormattedDate(today)]
}) })
@ -286,6 +287,7 @@
if (status.value == 'nomore') return if (status.value == 'nomore') return
status.value = 'loading' status.value = 'loading'
proxy.$modal.loading('加载中') proxy.$modal.loading('加载中')
tabParams.value.planDayCode = tabParams.value.planMasterCode
workSchedulingListApi.getRequestMainList(tabParams.value).then((res) => { workSchedulingListApi.getRequestMainList(tabParams.value).then((res) => {
proxy.$modal.closeLoading() proxy.$modal.closeLoading()
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
@ -460,6 +462,7 @@
function searchTable() { function searchTable() {
list.value = [] list.value = []
tabParams.value.pageNo = 1 tabParams.value.pageNo = 1
status.value = 'loadmore'
if(flag.value == 'request'){ if(flag.value == 'request'){
getRequestList() getRequestList()
} }

Loading…
Cancel
Save