|
|
@ -75,7 +75,7 @@ |
|
|
|
<u-form-item label="数量" prop="qty" required> |
|
|
|
<u-input v-model="form1.qty" type="number" placeholder="请输入数量" /> |
|
|
|
</u-form-item> |
|
|
|
<u-form-item label="描述" prop="qty" required> |
|
|
|
<u-form-item label="描述" prop="describes" required> |
|
|
|
<u-input v-model="form1.describes" placeholder="请输入描述" /> |
|
|
|
</u-form-item> |
|
|
|
</u-form> |
|
|
@ -249,6 +249,12 @@ const singleColumnShow = ref(false) |
|
|
|
proxy.$modal.showToast(`请输入数量`) |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (!form1.value.describes) { |
|
|
|
proxy.$modal.showToast(`请输入描述`) |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (form.value.itemNumbers && form.value.itemNumbers.length > 0) { |
|
|
|
let arr =form.value.itemNumbers.filter(item => item.itemNumber == form1.value.itemNumber) |
|
|
|
if (arr && arr.length > 0) { |
|
|
|