feat(contract): 新增合同打印功能,重构产品金额计算逻辑
1. 新增合同打印预览功能,支持A4格式打印,包含合同完整信息和产品明细 2. 新增多个产品金额计算工具函数,统一管理产品税额、无税单价等字段计算 3. 重构产品内容组件,新增税率除数、无税单价、税额列,实现字段联动自动计算 4. 新增合同logo静态资源,优化表格布局和样式
This commit is contained in:
@@ -828,6 +828,10 @@ export default {
|
||||
this.selectedSplitItem = null
|
||||
this.resetSplitForm()
|
||||
this.splitForm.enterCoilNo = this.coilInfo.enterCoilNo || ''
|
||||
// 如果是镀铬工序,设置默认镀铬卷号:取父卷入场卷号(多个逗号分隔时取第一个)
|
||||
if (this.isGrindAction && this.coilInfo.enterCoilNo) {
|
||||
this.splitForm.chromePlateCoilNo = this.coilInfo.enterCoilNo.split(',')[0].trim()
|
||||
}
|
||||
// 查询是否有缓存
|
||||
try {
|
||||
const res = await getCoilCacheByCoilId(this.coilId)
|
||||
|
||||
Reference in New Issue
Block a user