去除组装单和拆卸单录入界面的合计行

This commit is contained in:
季圣华 2023-10-23 21:46:14 +08:00
parent 712c896c87
commit 1f123f32f4
3 changed files with 10 additions and 6 deletions

View File

@ -423,6 +423,8 @@ export const BillModalMixin = {
target.statisticsColumns.taxLastMoney = taxLastMoneyTotal
}
that.autoChangePrice(target)
//强制渲染
target.$forceUpdate()
})
} else {
//单个条码
@ -443,6 +445,8 @@ export const BillModalMixin = {
target.recalcAllStatisticsColumns()
that.autoChangePrice(target)
target.autoSelectBySpecialKey('operNumber', row.orderNum)
//强制渲染
target.$forceUpdate()
}
})
}

View File

@ -151,11 +151,11 @@
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber,
validateRules: [{ required: true, message: '${title}不能为空' }]
},
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber},
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber, statistics: true },
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber },
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber },
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
]
},

View File

@ -151,11 +151,11 @@
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber,
validateRules: [{ required: true, message: '${title}不能为空' }]
},
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber},
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber, statistics: true },
{ title: '单价', key: 'unitPrice', width: '5%', type: FormTypes.inputNumber },
{ title: '金额', key: 'allPrice', width: '5%', type: FormTypes.inputNumber },
{ title: '备注', key: 'remark', width: '5%', type: FormTypes.input }
]
},