This commit is contained in:
qsh
2024-06-21 16:09:34 +08:00
parent 44e45349c2
commit 25e13bd975
15 changed files with 216 additions and 58 deletions

View File

@@ -28,6 +28,8 @@
import { getSimpleWarehouseList } from '@/api/mall/warehouse'
import { createDelivery } from '@/api/clue/delivery'
const message = useMessage() // 消息弹窗
const warehouseOptions = ref([])
function getOptions() {
getSimpleWarehouseList().then((data) => {
@@ -50,7 +52,7 @@ const rules = ref({
})
function resetForm(id) {
form.value = {
signId: id,
signProductId: id,
warehouseId: undefined,
remark: undefined
}
@@ -58,6 +60,7 @@ function resetForm(id) {
const emit = defineEmits(['success'])
const formLoading = ref(false)
const formRef = ref()
async function onSubmit() {
// 校验表单
if (!formRef.value) return