|
@@ -126,7 +126,7 @@
|
|
|
</template>
|
|
|
<!-- 数量 -->
|
|
|
<template slot="qty" slot-scope="text, record">
|
|
|
- <a-input-number style="width: 100%;" :precision="0" v-model="record.goodsQty" :min="0" :max="999999"></a-input-number>
|
|
|
+ <a-input-number style="width: 100%;" :precision="0" v-model="record.goodsQty" :min="1" :max="999999"></a-input-number>
|
|
|
</template>
|
|
|
<!-- 体积 -->
|
|
|
<template slot="volume" slot-scope="text, record">
|
|
@@ -439,6 +439,10 @@ export default {
|
|
|
_this.$message.info('请选择物品!')
|
|
|
return false
|
|
|
}
|
|
|
+ if (_this.vaildGood('goodsQty').indexOf(false) >= 0) {
|
|
|
+ _this.$message.info('请输入件数!')
|
|
|
+ return false
|
|
|
+ }
|
|
|
if (_this.vaildGood('totalAmount').indexOf(false) >= 0) {
|
|
|
_this.$message.info('请输入费用!')
|
|
|
return false
|