|
|
@ -92,7 +92,7 @@
|
|
|
|
const spinningL = ref(false)
|
|
|
|
const spinningL = ref(false)
|
|
|
|
const emit = defineEmits(['AddDetailL', 'AddDetailR'])
|
|
|
|
const emit = defineEmits(['AddDetailL', 'AddDetailR'])
|
|
|
|
// 头部表单
|
|
|
|
// 头部表单
|
|
|
|
const [registerForm, { getFieldsValue }] = useForm({
|
|
|
|
const [registerForm, { getFieldsValue, setFieldsValue }] = useForm({
|
|
|
|
labelWidth: 120,
|
|
|
|
labelWidth: 120,
|
|
|
|
schemas,
|
|
|
|
schemas,
|
|
|
|
showActionButtonGroup: false,
|
|
|
|
showActionButtonGroup: false,
|
|
|
@ -244,10 +244,11 @@
|
|
|
|
// 弹窗
|
|
|
|
// 弹窗
|
|
|
|
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
|
|
|
|
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
|
|
|
|
spinningL.value = true
|
|
|
|
spinningL.value = true
|
|
|
|
|
|
|
|
setFieldsValue({ customerId: data.customerId })
|
|
|
|
dataSourceL.value = []
|
|
|
|
dataSourceL.value = []
|
|
|
|
setTableData([])
|
|
|
|
setTableData([])
|
|
|
|
setModalProps({ confirmLoading: true, loading: true })
|
|
|
|
setModalProps({ confirmLoading: true, loading: true })
|
|
|
|
const res: API.DataResult = await GetBusinessQueryList(beforeFetch(null))
|
|
|
|
const res: API.DataResult = await GetBusinessQueryList(beforeFetch(getFieldsValue()))
|
|
|
|
if (res.succeeded) {
|
|
|
|
if (res.succeeded) {
|
|
|
|
dataSourceL.value = res.data
|
|
|
|
dataSourceL.value = res.data
|
|
|
|
setTableData([...res.data])
|
|
|
|
setTableData([...res.data])
|
|
|
|