Browse Source

去掉: message.error('优先级不可以为0')

hella_online_20240911
yufei_wang 3 months ago
parent
commit
e1303691fe
  1. 8
      src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/AddForm.vue
  2. 8
      src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue
  3. 8
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue
  4. 8
      src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue
  5. 8
      src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue
  6. 8
      src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/AddForm.vue
  7. 8
      src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue
  8. 8
      src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue
  9. 8
      src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue
  10. 8
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
  11. 8
      src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue
  12. 8
      src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/AddForm.vue

8
src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/AddForm.vue

@ -332,10 +332,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if(formData.value.priority == 0){
message.error('优先级不可以为0')
return
}
// if(formData.value.priority == 0){
// message.error('0')
// return
// }
let list = Object.values(formData.value.configuration)
let onlyOne = list.filter((item) => {
return item == 'TRUE'

8
src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue

@ -471,10 +471,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
if (hasSameData( formData.value.configuration.ManagementPrecision)) {
message.error('规则配置数据重复,请重新填写')
return;

8
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

@ -1227,10 +1227,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue

@ -477,10 +477,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
if (hasSameData(formData.value.configuration.AqlList)) {
message.error('抽检规则数据范围重叠,请重新填写')
return

8
src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue

@ -566,10 +566,10 @@ const submitForm = async () => {
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/AddForm.vue

@ -368,10 +368,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if(formData.value.priority == 0){
message.error('优先级不可以为0')
return
}
// if(formData.value.priority == 0){
// message.error('0')
// return
// }
let list = Object.values(formData.value.configuration)
let onlyOne = list.filter((item) => {
return item == 'TRUE'

8
src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue

@ -508,10 +508,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue

@ -517,10 +517,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if(formData.value.priority == 0){
message.error('优先级不可以为0')
return
}
// if(formData.value.priority == 0){
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue

@ -504,10 +504,10 @@ const submitForm = async () => {
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

@ -1195,10 +1195,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if(formData.value.priority == 0){
message.error('优先级不可以为0')
return
}
// if(formData.value.priority == 0){
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue

@ -370,10 +370,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if (formData.value.priority == 0) {
message.error('优先级不可以为0')
return
}
// if (formData.value.priority == 0) {
// message.error('0')
// return
// }
//
formLoading.value = true
try {

8
src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/AddForm.vue

@ -470,10 +470,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
if(formData.value.priority == 0){
message.error('优先级不可以为0')
return
}
// if(formData.value.priority == 0){
// message.error('0')
// return
// }
//
formLoading.value = true
try {

Loading…
Cancel
Save