|
|
@ -3,8 +3,8 @@ |
|
|
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-row> |
|
|
|
<a-row> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-item label="学校" v-bind="validateInfos.schoolid"> |
|
|
|
<a-form-item label="院系" v-bind="validateInfos.schoolid"> |
|
|
|
<a-input v-model:value="formData.schoolid" placeholder="请输入学校" :disabled="disabled"></a-input> |
|
|
|
<a-input v-model:value="formData.schoolid" placeholder="请输入院系" :disabled="disabled"></a-input> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
@ -42,6 +42,12 @@ |
|
|
|
<a-input v-model:value="formData.duty" placeholder="请输入税号" :disabled="disabled"></a-input> |
|
|
|
<a-input v-model:value="formData.duty" placeholder="请输入税号" :disabled="disabled"></a-input> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="24"> |
|
|
|
|
|
|
|
<a-form-item label="发票号" v-bind="validateInfos.duty"> |
|
|
|
|
|
|
|
<a-input v-model:value="formData.fph" placeholder="请输入发票号" :disabled="disabled"></a-input> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-item label="地址" v-bind="validateInfos.address"> |
|
|
|
<a-form-item label="地址" v-bind="validateInfos.address"> |
|
|
|
<a-input v-model:value="formData.address" placeholder="请输入地址" :disabled="disabled"></a-input> |
|
|
|
<a-input v-model:value="formData.address" placeholder="请输入地址" :disabled="disabled"></a-input> |
|
|
@ -80,7 +86,7 @@ |
|
|
|
import { getValueType } from '/@/utils'; |
|
|
|
import { getValueType } from '/@/utils'; |
|
|
|
import { saveOrUpdate } from '../Receipt.api'; |
|
|
|
import { saveOrUpdate } from '../Receipt.api'; |
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
const props = defineProps({ |
|
|
|
formDisabled: { type: Boolean, default: false }, |
|
|
|
formDisabled: { type: Boolean, default: false }, |
|
|
|
formData: { type: Object, default: ()=>{} }, |
|
|
|
formData: { type: Object, default: ()=>{} }, |
|
|
@ -91,19 +97,20 @@ |
|
|
|
const emit = defineEmits(['register', 'ok']); |
|
|
|
const emit = defineEmits(['register', 'ok']); |
|
|
|
const formData = reactive<Record<string, any>>({ |
|
|
|
const formData = reactive<Record<string, any>>({ |
|
|
|
id: '', |
|
|
|
id: '', |
|
|
|
schoolid: '', |
|
|
|
schoolid: '', |
|
|
|
teamsnumber: '', |
|
|
|
teamsnumber: '', |
|
|
|
price: '', |
|
|
|
fph: '', |
|
|
|
kpPrice: '', |
|
|
|
price: '', |
|
|
|
contacts: '', |
|
|
|
kpPrice: '', |
|
|
|
telephone: '', |
|
|
|
contacts: '', |
|
|
|
mailbox: '', |
|
|
|
telephone: '', |
|
|
|
duty: '', |
|
|
|
mailbox: '', |
|
|
|
address: '', |
|
|
|
duty: '', |
|
|
|
phone: '', |
|
|
|
address: '', |
|
|
|
bank: '', |
|
|
|
phone: '', |
|
|
|
bankCode: '', |
|
|
|
bank: '', |
|
|
|
iskp: '', |
|
|
|
bankCode: '', |
|
|
|
|
|
|
|
iskp: '', |
|
|
|
}); |
|
|
|
}); |
|
|
|
const { createMessage } = useMessage(); |
|
|
|
const { createMessage } = useMessage(); |
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); |
|
|
@ -126,7 +133,7 @@ |
|
|
|
return props.formDisabled; |
|
|
|
return props.formDisabled; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 新增 |
|
|
|
* 新增 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|