|
@@ -33,6 +33,8 @@
|
|
|
|
|
|
<el-button style="margin-left: 10px" v-if="hasPermission('reimbursement:del')" :disabled="$refs.xTree && $refs.xTree.getCheckboxRecords().length === 0" type="danger" size="small" icon="el-icon-delete" @click="del()" plain>删除</el-button>
|
|
|
|
|
|
+ <el-button style="margin-left: 10px" v-if="hasPermission('reimbursement:edit')" :disabled="$refs.xTree && $refs.xTree.getCheckboxRecords().length === 0" type="primary" size="small" icon="el-icon-edit" @click="editInvoiceGatheringTime()" plain>批量收款</el-button>
|
|
|
+
|
|
|
</el-row>
|
|
|
|
|
|
</template>
|
|
@@ -76,8 +78,8 @@
|
|
|
<vxe-column width="200px" title="购方企业名称" field="firmName" align="center"></vxe-column>
|
|
|
<vxe-column width="100px" title="开票日期" field="makeTime" align="center"></vxe-column>
|
|
|
<vxe-column width="150px" title="商品名称" field="name" align="center"></vxe-column>
|
|
|
- <vxe-column width="100px" title="申请人" field="proposer" align="center"></vxe-column>
|
|
|
- <vxe-column width="100px" title="合伙人" field="partner" align="center"></vxe-column>
|
|
|
+ <vxe-column width="100px" title="项目经理" field="proposer" align="center"></vxe-column>
|
|
|
+ <vxe-column width="100px" title="部门" field="partner" align="center"></vxe-column>
|
|
|
<vxe-column width="100px" title="业务类型" field="businessType" align="center"></vxe-column>
|
|
|
<vxe-column width="100px" title="收款日期" field="gatheringTime" align="center"></vxe-column>
|
|
|
|
|
@@ -110,6 +112,7 @@
|
|
|
</div>
|
|
|
<!-- 弹窗, 新增 / 修改 -->
|
|
|
<reimbursementForm ref="reimbursementForm" @refreshDataList="refreshList"></reimbursementForm>
|
|
|
+ <reimbursementGatheringTimeForm ref="reimbursementGatheringTimeForm" @refreshDataList="refreshList"></reimbursementGatheringTimeForm>
|
|
|
<reimbursementRatioForm ref="reimbursementRatioForm" @refreshDataList="refreshList"></reimbursementRatioForm>
|
|
|
<reimbursementBusinessForm ref="reimbursementBusinessForm" @refreshDataList="refreshList"></reimbursementBusinessForm>
|
|
|
<reimbursementBusinessList ref="reimbursementBusinessList" @refreshDataList="refreshList"></reimbursementBusinessList>
|
|
@@ -122,6 +125,7 @@
|
|
|
import ReimbursementSys from '@/api/reimbursementSys/reimbursementSysService'
|
|
|
import XEUtils from 'xe-utils'
|
|
|
import reimbursementForm from './reimbursementForm'
|
|
|
+import reimbursementGatheringTimeForm from './reimbursementGatheringTimeForm'
|
|
|
import reimbursementRatioForm from './reimbursementRatioForm'
|
|
|
import reimbursementInvoiceForm from './reimbursementInvoiceForm'
|
|
|
import reimbursementBusinessForm from './reimbursementBusinessForm'
|
|
@@ -145,6 +149,7 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
reimbursementForm,
|
|
|
+ reimbursementGatheringTimeForm,
|
|
|
reimbursementRatioForm,
|
|
|
reimbursementInvoiceForm,
|
|
|
reimbursementBusinessForm
|
|
@@ -232,6 +237,13 @@ export default {
|
|
|
viewBusinessInfo (id) {
|
|
|
this.$router.push({path: `/reimbursementSys/reimbursementBusinessList`, query: {id: id, title: '业务报销详情'}})
|
|
|
},
|
|
|
+ // 修改发票收款日期
|
|
|
+ editInvoiceGatheringTime (id) {
|
|
|
+ let ids = id || this.$refs.xTree.getCheckboxRecords().map(item => {
|
|
|
+ return item.id
|
|
|
+ }).join(',')
|
|
|
+ this.$refs.reimbursementGatheringTimeForm.init('edit', {id: ids, parent: {id: '', name: ''}})
|
|
|
+ },
|
|
|
// 修改发票信息
|
|
|
editInvoice (id) {
|
|
|
this.$refs.reimbursementInvoiceForm.init('editInvoice', {id: id, parent: {id: '', name: ''}})
|