Browse Source

feat: update bug修复

master
TengXF 6 months ago
parent
commit
56b14926dc
  1. 2
      src/pages/mes/workScheduling/addBasicItem/index.vue
  2. 18
      src/pages/mes/workScheduling/inspectionItems.vue
  3. 5
      src/pages/mes/workScheduling/waitQuality.vue
  4. 4
      src/pages/mes/workScheduling/waitReport.vue
  5. 4
      src/pages/mes/workScheduling/workScheduling.vue

2
src/pages/mes/workScheduling/addBasicItem/index.vue

@ -211,7 +211,7 @@
} }
}) })
onShow(() => { onShow(() => {
getDictInfo() // getDictInfo()
getBasicItem() getBasicItem()
}) })
onReachBottom(() => { onReachBottom(() => {

18
src/pages/mes/workScheduling/inspectionItems.vue

@ -1,6 +1,6 @@
<template> <template>
<!-- 检查项 --> <!-- 检查项 -->
<view class="detail-container"> <view class="container">
<view class="list" v-for="(item, index) in list" :key="index"> <view class="list" v-for="(item, index) in list" :key="index">
<view class="title"> <view class="title">
<view class="title-txt"> <view class="title-txt">
@ -71,14 +71,14 @@
<view class="dec-item"> <view class="dec-item">
<view>质检模板号{{ equipmentRadioValue}}</view> <view>质检模板号{{ equipmentRadioValue}}</view>
</view> --> </view> -->
<view> <!-- <view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view> -->
<u-popup v-model="show" mode="bottom" width="500rpx" height="200px" border-radius="20" mask-close-able="false"> </view>
<view><u-input v-model="reasons" placeholder="请输入未通过原因" /></view> <view>
<u-button type="success" size="medium" @click="confirmReason">完成</u-button> <u-popup v-model="show" mode="bottom" width="500rpx" height="200px" border-radius="20" mask-close-able="false">
</u-popup> <view><u-input v-model="reasons" placeholder="请输入未通过原因" /></view>
<!-- <u-button @click="show = true">打开</u-button> --> <u-button type="success" size="medium" @click="confirmReason">完成</u-button>
</view> </u-popup>
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view> <!-- <u-button @click="show = true">打开</u-button> -->
</view> </view>
</template> </template>

5
src/pages/mes/workScheduling/waitQuality.vue

@ -65,8 +65,8 @@
const showWorker = ref(false) const showWorker = ref(false)
const workerList = ref([]) const workerList = ref([])
const nodeInfo = ref({ const nodeInfo = ref({
planDayCode:'PO20240430-0011', planDayCode:'',
processCode:'QD_CY_01' processCode:''
}) })
const planCount = ref(100) const planCount = ref(100)
const saveData = ref({ const saveData = ref({
@ -152,7 +152,6 @@
onLoad((option) => { onLoad((option) => {
if (option.obj) { if (option.obj) {
paramData.value = JSON.parse(decodeURIComponent(option.obj)); // paramData paramData.value = JSON.parse(decodeURIComponent(option.obj)); // paramData
console.log(paramData.value)
nodeInfo.value.planDayCode = paramData.value.planNoDay nodeInfo.value.planDayCode = paramData.value.planNoDay
nodeInfo.value.processCode = paramData.value.nodeCode nodeInfo.value.processCode = paramData.value.nodeCode
saveData.value.processCode = paramData.value.nodeCode saveData.value.processCode = paramData.value.nodeCode

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

@ -90,8 +90,8 @@
const workerList = ref([]) const workerList = ref([])
const typeList = ref([{label:'是',value: '1'},{label:'否',value: '2'}]) const typeList = ref([{label:'是',value: '1'},{label:'否',value: '2'}])
const nodeInfo = ref({ const nodeInfo = ref({
planDayCode:'PO20240430-0011', planDayCode:'',
processCode:'QD_CY_01' processCode:''
}) })
const rekey=ref(0) // const rekey=ref(0) //
const Quakey = ref(0) const Quakey = ref(0)

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

@ -449,7 +449,6 @@
}) })
async function searchTable() { async function searchTable() {
console.log(searchValue.value)
// tabParams.value.planMasterCode = searchValue.value // tabParams.value.planMasterCode = searchValue.value
list.value = [] list.value = []
tabParams.value.pageNo = 1 tabParams.value.pageNo = 1
@ -547,7 +546,6 @@
planCount:item.planCount planCount:item.planCount
} }
const objString = JSON.stringify(getParams); const objString = JSON.stringify(getParams);
console.log(objString)
proxy.$tab.navigateTo(`/pages/mes/workScheduling/waitQuality?obj=${encodeURIComponent(objString)}`) proxy.$tab.navigateTo(`/pages/mes/workScheduling/waitQuality?obj=${encodeURIComponent(objString)}`)
} }
@ -587,7 +585,7 @@
//SOP //SOP
function SOP(item) { function SOP(item) {
workSchedulingListApi.getWorkSchedulingPDF(JSON.stringify(item.planMasterCode)).then((res) => { workSchedulingListApi.getWorkSchedulingPDF(item.planMasterCode).then((res) => {
// //
}).catch(() => { }).catch(() => {

Loading…
Cancel
Save