Browse Source

修改编辑数不能为0

hella_online_20240803
lijuncheng 3 months ago
parent
commit
60b3035324
  1. 2
      src/mycomponents/qty/balanceQtyEdit.vue

2
src/mycomponents/qty/balanceQtyEdit.vue

@ -182,7 +182,7 @@
}, },
setValue() { setValue() {
var balanceQty = Number(this.dataContent.balanceQty); var balanceQty = Number(this.dataContent.balanceQty);
if(this.allQty<0){ if(this.allQty<=0){
this.$refs.comMessage.showConfirmWarningModal('数量必须大于等于0', this.$refs.comMessage.showConfirmWarningModal('数量必须大于等于0',
res => { res => {
this.allQty = balanceQty; this.allQty = balanceQty;

Loading…
Cancel
Save