Commit ccd51057 by chenwq

负数

1 parent 03cf3d49
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
handleInput(rowIdx, attr) { handleInput(rowIdx, attr) {
const val = this.tableData[rowIdx][attr] const val = this.tableData[rowIdx][attr]
const oldVal = this.tableOldData[rowIdx][attr] const oldVal = this.tableOldData[rowIdx][attr]
this.tableData[rowIdx][attr] = limitPrice(val, oldVal, 9, 2) this.tableData[rowIdx][attr] = limitPrice(val, oldVal, 9, 2, '', '', 'priceReg_negative')
this.tableOldData[rowIdx][attr] = this.tableData[rowIdx][attr] this.tableOldData[rowIdx][attr] = this.tableData[rowIdx][attr]
}, },
handleInputBlur() { handleInputBlur() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!