Commit ed9f76cb by wusiyi

fix: bug

parent b04bf883
......@@ -401,9 +401,10 @@ export function applyForReplenishmentApi(
data: {
id: number
productId: number
factorySubOrderNumber: string
factorySubOrderNumber: string | number
replenishmentNum: string
podJomallOrderUsStatus: string
replenishmentReason: string
}[],
) {
return axios.post<never, BaseRespData<never>>(
......
......@@ -2859,7 +2859,7 @@ const replenishmentDialogVisible = ref(false)
const replenishmentFormRef = ref()
const currentReplenishmentRow = ref<ProductList | null>(null)
const replenishmentForm = ref({
replenishmentNum: 1,
replenishmentNum: '1',
replenishmentReason: '',
})
const replenishmentRules = {
......@@ -5451,7 +5451,7 @@ const handleWaitTrackCommand = (command: number) => {
// 重置补胚表单
const resetReplenishmentForm = () => {
replenishmentForm.value.replenishmentNum = 1
replenishmentForm.value.replenishmentNum = '1'
replenishmentForm.value.replenishmentReason = ''
currentReplenishmentRow.value = null
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