update 合并开票增加发票附件
This commit is contained in:
@@ -70,6 +70,18 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row>
|
||||
<a-col :xl="12" :sm="24">
|
||||
<a-form-item label="发票附件" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<j-upload
|
||||
file-type-error-message="请上传发票附件"
|
||||
:return-id="true"
|
||||
v-decorator="['invoiceFileId', validatorRules.invoiceFileId]"
|
||||
:trigger-change="true"
|
||||
></j-upload>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
|
||||
<a-table
|
||||
@@ -110,10 +122,11 @@ import {addPayBill} from '../../../api/incomePaymentsApi'
|
||||
import SelectContacts from '../../../components/company/SelectContacts'
|
||||
import {getContactsById} from '../../../api/api'
|
||||
import pick from 'lodash.pick'
|
||||
import JUpload from '@comp/jero/JUpload'
|
||||
|
||||
export default {
|
||||
name: 'BatchInvoicingModule',
|
||||
components: {JDate, SelectContacts},
|
||||
components: {JUpload, JDate, SelectContacts},
|
||||
props: {
|
||||
// 选中的项目信息
|
||||
selectedData: {
|
||||
@@ -261,6 +274,10 @@ export default {
|
||||
contactAddress: {
|
||||
rules: [{required: true, message: '请输入通讯地址'}],
|
||||
validateTrigger: 'blur'
|
||||
},
|
||||
invoiceFileId: {
|
||||
rules: [{ required: true, message: '请上传发票附件' }],
|
||||
validateTrigger: 'change'
|
||||
}
|
||||
},
|
||||
inputInvoicingAmount: null, // 输入的开票金额
|
||||
|
||||
Reference in New Issue
Block a user