ZaiZai hace 1 año
padre
commit
e4755a3af9

+ 1 - 1
src/views/debit-pay/material/components/material/dataModal.vue

@@ -337,7 +337,7 @@ const adjustmentChange = () => {
 const materialName = ref([])
 const getMaterialName = async () => {
     const { contractPeriodId } = formModel.value
-    const { data } = await mainApi.materialName(contractId.value, contractPeriodId, dataId.value ?? null)
+    const { data } = await mainApi.materialName(contractId.value, contractPeriodId, dataId.value || null)
     materialName.value = getArrValue(data)
 }
 const materialNameChange = () => {