Initial commit

This commit is contained in:
sjk
2025-11-17 13:32:54 +08:00
commit e788eab6eb
1659 changed files with 171560 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
var handleInvoice = function (invoiceData) {
if (!invoiceData || invoiceData.invoiceType == 0) {
return '暂不开发票';
}
var title = invoiceData.titleType == 2 ? '公司' : '个人';
var content = invoiceData.contentType == 2 ? '商品类别' : '商品明细';
return invoiceData.email
? '电子普通发票 (' + content + ' - ' + title + ')'
: '暂不开发票';
};
module.exports = handleInvoice;