Browse Source

允许打样单号为空

master
han\hanst 1 month ago
parent
commit
ac37345b54
  1. 2
      src/views/modules/sampleTracking/projectProofTracking.vue

2
src/views/modules/sampleTracking/projectProofTracking.vue

@ -6158,7 +6158,7 @@ export default {
this.$message.warning('项目阶段不能为空')
return false
}
// 数量允许留空 ;一旦填写仍必须是正整数,避免把 0、小数或文本写入打样数量。
// 数量允许留空;一旦填写仍必须是正整数,避免把 0、小数或文本写入打样数量。
const proofingNumber = this.proofDialogData.proofingNumber
if (!this.isBlankValue(proofingNumber) && !/^[1-9]\d*$/.test(String(proofingNumber).trim())) {
this.$alert('数量必需是大于等于0的正整数', '提示', {

Loading…
Cancel
Save