|
|
|
@ -17,10 +17,10 @@
|
|
|
|
|
import { BasicModal, useModalInner } from '/@/components/Modal'
|
|
|
|
|
import { InfoColumns } from './columns'
|
|
|
|
|
import { formatParams } from '/@/hooks/web/common'
|
|
|
|
|
const rowId = ref('')
|
|
|
|
|
const cntrno = ref('')
|
|
|
|
|
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
|
|
|
|
|
setModalProps({ confirmLoading: false, loading: true })
|
|
|
|
|
rowId.value = data.id
|
|
|
|
|
cntrno.value = data.cntrno
|
|
|
|
|
reload()
|
|
|
|
|
setModalProps({ loading: false })
|
|
|
|
|
})
|
|
|
|
@ -50,8 +50,8 @@
|
|
|
|
|
}
|
|
|
|
|
let condition: API.ConditionItem[] = []
|
|
|
|
|
condition.push({
|
|
|
|
|
FieldName: 'id',
|
|
|
|
|
FieldValue: rowId.value,
|
|
|
|
|
FieldName: 'cntrno',
|
|
|
|
|
FieldValue: cntrno.value,
|
|
|
|
|
ConditionalType: 0,
|
|
|
|
|
})
|
|
|
|
|
postParam.queryCondition = JSON.stringify(condition)
|
|
|
|
|