Browse Source

feat: update bug

master
TengXF 6 months ago
parent
commit
96ded40230
  1. 5
      src/pages/mes/workScheduling/waitQuality.vue
  2. 8
      src/pages/mes/workScheduling/waitReport.vue

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

@ -84,19 +84,16 @@
const Quakey = ref(0)
function changeQualified(){
Quakey.value++
if(saveData.value.qualified > planCount.value){
Quakey.value++
saveData.value.qualified = planCount.value
}
valChange()
}
//
function submitData(){
proxy.$modal.loading('加载中')
console.log(saveData.value)
workSchedulingListApi.qualityByProcess(saveData.value).then((res) => {
proxy.$modal.closeLoading()
if (res.code == 0) {

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

@ -125,22 +125,24 @@
}
}
function changeReportCount(){
rekey.value++
console.log(1)
if(formData.value.reportCount> planCount.value){
rekey.value++
formData.value.reportCount = planCount.value
}
if(formData.value.checkFlag){
Quakey.value++
formData.value.qualified = formData.value.reportCount
formData.value.unqualified = 0
}
}
function changeQualified(){
Quakey.value++
if(formData.value.qualified>formData.value.reportCount){
Quakey.value++
formData.value.qualified = formData.value.reportCount
}
if(formData.value.checkFlag){
Quakey.value++
formData.value.unqualified = formData.value.reportCount - formData.value.qualified
}
}

Loading…
Cancel
Save