[需求变更] 打包、到账开票:标协会员的项目只能先来款才能开票

This commit is contained in:
zhaoxiao
2021-10-26 16:25:16 +08:00
parent 516a8c401f
commit b49719c641
2 changed files with 11 additions and 3 deletions
@@ -504,7 +504,10 @@ export default {
* @param record
*/
invoicing(record) {
console.log(record)
if (record.projectType === 5 && record.inAccount !== 1) {
this.$message.warn('标协会员项目必须先到账才可开票。')
return
}
this.selectProjectName = record.chargeProject
this.selectProjectId = record.id
this.selectProjectType = record.projectType