Browse Source

添加备注

intex_online20241205
zhang_li 2 months ago
parent
commit
d1913ab2a4
  1. 2
      .env.development
  2. 2
      src/mycomponents/qty/recommendQtyEdit.vue

2
.env.development

@ -1,5 +1,5 @@
VITE_BASE_URL=http://localhost:12080/admin-api
# VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api
#VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api
# VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api
# 租户配置

2
src/mycomponents/qty/recommendQtyEdit.vue

@ -187,6 +187,7 @@ import { nextTick } from 'vue';
setValue() {
// var recommendQty = Number(this.dataContent.qty);
// var labelQty = Number(this.dataContent.record.label.qty);
// isNumPackTips
if (this.allQty > parseFloat(this.dataContent.packQty) && this.isNumPackTips) {
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于包装数量[' +
this.dataContent.packQty +
@ -196,6 +197,7 @@ import { nextTick } from 'vue';
})
return
}
//
if (this.allQty > this.labelQty && this.isNumTips && !this.isNumPackTips) {
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于标签数量[' +
this.labelQty +

Loading…
Cancel
Save