修改bug

This commit is contained in:
‘937886381’
2024-03-25 16:57:41 +08:00
parent bcadc83725
commit 3823c3cb3e
12 changed files with 74 additions and 72 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zhp
* @LastEditTime: 2024-03-22 17:12:03
* @LastEditTime: 2024-03-25 14:07:31
* @Description:
-->
<template>

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-11-08 15:30:27
* @LastEditTime: 2023-12-04 15:19:33
* @LastEditTime: 2024-03-25 14:14:04
* @LastEditors: zhp
* @Description:
-->
@@ -118,7 +118,7 @@ export default {
this.$refs['dataForm'].resetFields();
if (this.dataForm.id) {
getProcessEquValueBomDet({
id: this.dataForm.id
id: this.dataForm.id,
}).then((res) => {
this.dataForm = res.data;
const arr = []

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-11-08 14:00:52
* @LastEditTime: 2023-11-09 09:59:53
* @LastEditTime: 2024-03-25 14:09:33
* @LastEditors: zhp
* @Description:
-->
@@ -25,24 +25,24 @@ export default {
},
data() {
return {
state: false
// state: false
}
},
computed: {
state() {
return this.injectData.enabled === 1 ? true : false
}
},
// computed: {
// readonly() {
// return !!this.injectData.readonly
// }
// },
mounted() {
this.mapToState()
// this.mapToState()
},
methods: {
mapToState() {
if (this.injectData.prop === 'enabled') {
this.state = this.injectData.enabled === 1 ? true : false
}
},
// mapToState() {
// if (this.injectData.prop === 'enabled') {
// this.state = this.injectData.enabled === 1 ? true : false
// }
// },
changeHandler() {
// let params = {}
let payload = {}