[update] 财务管理到账开票接口联调;金额正则修改;分期信息组件修改
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
|
||||
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
||||
<a @click="incomePayment(record.id)">来款</a>
|
||||
<a @click="invoicing(record.id)">开票</a>
|
||||
<a @click="invoicing(record)">开票</a>
|
||||
</span>
|
||||
</a-table>
|
||||
</div>
|
||||
@@ -95,7 +95,13 @@
|
||||
<!-- 来款阶段-->
|
||||
<arrive-stage-module ref="arriveStage" @ok="modalFormOk" :project-id="selectProjectId"></arrive-stage-module>
|
||||
<!-- 开票阶段-->
|
||||
<invoicing-stage-module ref="invoicingStage" @ok="modalFormOk"></invoicing-stage-module>
|
||||
<invoicing-stage-module
|
||||
ref="invoicingStage"
|
||||
@ok="modalFormOk"
|
||||
:project-id="selectProjectId"
|
||||
:project-type="selectProjectType"
|
||||
:project-name="selectProjectName"
|
||||
:charge-company-name="selectProjectChargeCompanyName"></invoicing-stage-module>
|
||||
<project-detail-modal ref="projectDetail"></project-detail-modal>
|
||||
</div>
|
||||
</template>
|
||||
@@ -113,7 +119,15 @@ import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
||||
|
||||
export default {
|
||||
name: 'ArriveAndInvoivingList',
|
||||
components: { PageHeaderTitle, JYearDate, StatusSlot, ArriveStageModule, InvoicingStageModule, SelectPrincipal, ProjectDetailModal },
|
||||
components: {
|
||||
PageHeaderTitle,
|
||||
JYearDate,
|
||||
StatusSlot,
|
||||
ArriveStageModule,
|
||||
InvoicingStageModule,
|
||||
SelectPrincipal,
|
||||
ProjectDetailModal
|
||||
},
|
||||
mixins: [JeroListMixin],
|
||||
data() {
|
||||
return {
|
||||
@@ -213,7 +227,10 @@ export default {
|
||||
list: '/paymentRecord/payPaymentRecord/mainList',
|
||||
exportXlsUrl: ''
|
||||
},
|
||||
selectProjectId: null
|
||||
selectProjectId: null, // 选中项目id
|
||||
selectProjectType: null, // 选中项目类型
|
||||
selectProjectName: null, // 选中项目名称
|
||||
selectProjectChargeCompanyName: null // 选中项目来款企业
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -229,8 +246,12 @@ export default {
|
||||
* 开票
|
||||
* @param id
|
||||
*/
|
||||
invoicing(id) {
|
||||
console.log(id)
|
||||
invoicing(record) {
|
||||
console.log(record)
|
||||
this.selectProjectId = record.id
|
||||
this.selectProjectType = record.projectType
|
||||
this.selectProjectName = record.chargeProject
|
||||
this.selectProjectChargeCompanyName = record.chargeCompanyTemporaryName
|
||||
this.$refs.invoicingStage.open()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user