duy 1 an în urmă
părinte
comite
18737c12bf

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

@@ -149,7 +149,7 @@ watch(() => [
 
     if (Id.length > 0) {
         baseForm.value = info
-        console.log( fileName.value, ' fileName.value')
+        fileName.value = arrToKey(info?.fileList, 'fileName', ',')
     } else {
         baseForm.value = {}
         fileName.value = ''

+ 5 - 5
src/views/debit-pay/material/order.vue

@@ -48,7 +48,7 @@
                         </tr>
                         <tr>
                             <hc-info-table-td center is-title>计量期:</hc-info-table-td>
-                            <hc-info-table-td width="120px">{{ infoData?.meterPeriodId }}</hc-info-table-td>
+                            <hc-info-table-td width="120px">{{ infoData?.meterPeriodName }}</hc-info-table-td>
                             <hc-info-table-td center is-title>业务日期:</hc-info-table-td>
                             <hc-info-table-td width="120px">{{ infoData?.businessDate }}</hc-info-table-td>
                         </tr>
@@ -159,9 +159,9 @@ const pageChange = ({ current, size }) => {
 //表格数据
 const tableLoading = ref(false)
 const tableColumn = ref([
-    { key: 'contractMaterialId', name: '合同材料' },
+    { key: 'contractMaterialName', name: '合同材料' },
     { key: 'materialArriveNumber', name: '材料到场编号' },
-    { key: 'key3', name: '业务日期' },
+    { key: 'businessDate', name: '业务日期' },
     { key: 'meterMoney', name: '计量金额' },
     { key: 'approveStatusName', name: '审核状态' },
     { key: 'action', name: '操作', width: 94 },
@@ -240,12 +240,12 @@ const delRowClick = async (row)=>{
 }
 const removeProPay = async (id) => {
     const { error, code } = await mainApi.remove({
-        id: id, 
+        ids: id, 
     })
     if (!error && code === 200) {
         window?.$message?.success('删除成功')
        getTableData()
-       rowViewId.value = ''
+     
     }
 }
 //是否上报