|
|
@ -725,6 +725,11 @@ const handleEditForm = async () => { |
|
|
ElMessage.error(testGold().message); |
|
|
ElMessage.error(testGold().message); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
if(typeof addFormData.value.activity == 'string'){ |
|
|
|
|
|
console.log('转换前:', addFormData.value.activity); |
|
|
|
|
|
|
|
|
|
|
|
addFormData.value.activity = activityList.value.find(item => item.activityName === addFormData.value.activity).id |
|
|
|
|
|
} |
|
|
//单独校验产品数量 |
|
|
//单独校验产品数量 |
|
|
if (!isGold.value) { |
|
|
if (!isGold.value) { |
|
|
if (!addFormData.value.goodNum) { |
|
|
if (!addFormData.value.goodNum) { |
|
|
|