上传
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user