约号bug修复

frame
lijingjia 2 weeks ago
parent 58340421cc
commit 8cfa756594

@ -211,6 +211,7 @@ import { mode } from 'crypto-js'
let contractNoFlag = true
//
const toggleCNo = (model) => {
console.log(model)
if (model.contractNo) {
if (model.contractId) {
//
@ -218,12 +219,19 @@ import { mode } from 'crypto-js'
{ field: 'contractId', show: false },
{ field: 'contractNo', show: true }
])
setFieldsValue({
contractId: null,
contractNo: null
})
} else {
//
updateSchema([
{ field: 'contractId', show: true },
{ field: 'contractNo', show: false }
])
setFieldsValue({
contractNo: null
})
}
} else {
//

Loading…
Cancel
Save