Commit ed9f76cb by wusiyi

fix: bug

parent b04bf883
...@@ -401,9 +401,10 @@ export function applyForReplenishmentApi( ...@@ -401,9 +401,10 @@ export function applyForReplenishmentApi(
data: { data: {
id: number id: number
productId: number productId: number
factorySubOrderNumber: string factorySubOrderNumber: string | number
replenishmentNum: string replenishmentNum: string
podJomallOrderUsStatus: string podJomallOrderUsStatus: string
replenishmentReason: string
}[], }[],
) { ) {
return axios.post<never, BaseRespData<never>>( return axios.post<never, BaseRespData<never>>(
......
...@@ -2859,7 +2859,7 @@ const replenishmentDialogVisible = ref(false) ...@@ -2859,7 +2859,7 @@ const replenishmentDialogVisible = ref(false)
const replenishmentFormRef = ref() const replenishmentFormRef = ref()
const currentReplenishmentRow = ref<ProductList | null>(null) const currentReplenishmentRow = ref<ProductList | null>(null)
const replenishmentForm = ref({ const replenishmentForm = ref({
replenishmentNum: 1, replenishmentNum: '1',
replenishmentReason: '', replenishmentReason: '',
}) })
const replenishmentRules = { const replenishmentRules = {
...@@ -5451,7 +5451,7 @@ const handleWaitTrackCommand = (command: number) => { ...@@ -5451,7 +5451,7 @@ const handleWaitTrackCommand = (command: number) => {
// 重置补胚表单 // 重置补胚表单
const resetReplenishmentForm = () => { const resetReplenishmentForm = () => {
replenishmentForm.value.replenishmentNum = 1 replenishmentForm.value.replenishmentNum = '1'
replenishmentForm.value.replenishmentReason = '' replenishmentForm.value.replenishmentReason = ''
currentReplenishmentRow.value = null currentReplenishmentRow.value = null
replenishmentFormRef.value?.clearValidate() replenishmentFormRef.value?.clearValidate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment