Commit d2b00f6f by chenwq

发货数量限制;样式

1 parent 5f0b213a
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
}, },
config: { config: {
title: '采购发货', title: '采购发货',
width: '1010px' width: '1050px'
} }
}, },
isSubmit: false, isSubmit: false,
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
const _index = scope.index const _index = scope.index
const _oldVal = this.oldPurNumList[_index] || 0 const _oldVal = this.oldPurNumList[_index] || 0
const _maxVal = _row.goodsNumber - _row.purchaseNumber const _maxVal = _row.goodsNumber - _row.purchaseNumber
this.nowPurNumList[_index] = limitPrice(val, _oldVal, 2, 0, 0, _maxVal) this.nowPurNumList[_index] = limitPrice(val, _oldVal, 9999, 0, 0, _maxVal)
this.oldPurNumList = JSON.parse(JSON.stringify(this.nowPurNumList)) this.oldPurNumList = JSON.parse(JSON.stringify(this.nowPurNumList))
}, },
submit() { submit() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!