Commit 2c55f8ab by 王志慧

commit

1 parent eb88f0c5
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
}, },
handleCalculate(data, key) { handleCalculate(data, key) {
if (key == 'goodsNumber') { if (key == 'goodsNumber') {
data[key] = new BigNumber(data[key]).dp(0).toNumber() data[key] = data[key]?new BigNumber(data[key]).dp(0).toNumber():''
data.goodsTotalPrice = '' data.goodsTotalPrice = ''
data.upgradePurchasePrice = '' data.upgradePurchasePrice = ''
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!