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(() => {
getDictInfo()
// getDictInfo()
getBasicItem()
})
onReachBottom(() => {

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

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

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

@ -65,8 +65,8 @@
const showWorker = ref(false)
const workerList = ref([])
const nodeInfo = ref({
planDayCode:'PO20240430-0011',
processCode:'QD_CY_01'
planDayCode:'',
processCode:''
})
const planCount = ref(100)
const saveData = ref({
@ -152,7 +152,6 @@
onLoad((option) => {
if (option.obj) {
paramData.value = JSON.parse(decodeURIComponent(option.obj)); // paramData
console.log(paramData.value)
nodeInfo.value.planDayCode = paramData.value.planNoDay
nodeInfo.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 typeList = ref([{label:'是',value: '1'},{label:'否',value: '2'}])
const nodeInfo = ref({
planDayCode:'PO20240430-0011',
processCode:'QD_CY_01'
planDayCode:'',
processCode:''
})
const rekey=ref(0) //
const Quakey = ref(0)

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

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

Loading…
Cancel
Save