Browse Source

1、工序报工-前端表单页面优化

deli-eam
bjang03 11 months ago
parent
commit
cf1e686871
  1. 7
      src/pages/mes/workScheduling/processReportForm.vue
  2. 4
      src/pages/mes/workScheduling/processReportPeopleCheck.vue
  3. 3
      src/pages/mes/workScheduling/workScheduling.vue

7
src/pages/mes/workScheduling/processReportForm.vue

@ -4,7 +4,7 @@
title="工序报工">
<!-- <template v-slot:right v-if="isEngineer"> -->
<template v-slot:right v-if="isLeader">
<u-icon name="plus" color="#fff" size="36" style="padding-right: 30rpx;"></u-icon>
<u-icon name="plus" color="#fff" size="36" style="padding-right: 30rpx;" @click="toCheckPeople"></u-icon>
</template>
</u-navbar>
<view>
@ -95,6 +95,11 @@ function openDetail(item: any) {
console.log(item)
// proxy.$tab.navigateTo(`/pages/mes/orderDapPlan/detail?obj=${item}`)
}
function toCheckPeople(){
uni.redirectTo({
url: "./processReportPeopleCheck"
})
}
function remove(index){
if (list.value.length > 1) {
_confirm('确定要删除吗?',function(){

4
src/pages/mes/workScheduling/processReportPeopleCheck.vue

@ -100,9 +100,7 @@ function onSubmit() {
})
}
onLoad((option) => {
debugger
data.value = JSON.parse(option.params)
debugger
data.value = uni.getStorageSync("processReportListParams")
})
</script>

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

@ -290,8 +290,9 @@ function completeHandle(item) {
// })
}
function reportHandle(item) {
uni.setStorageSync("processReportListParams", item)
uni.redirectTo({
url: "/pages/mes/workScheduling/processReportPeopleCheck?params="+JSON.stringify(item)
url: "/pages/mes/workScheduling/processReportPeopleCheck"
})
}
//

Loading…
Cancel
Save