|
@@ -73,7 +73,7 @@
|
|
</template>
|
|
</template>
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
<hc-tooltip keys="tentative_material_commission_edit">
|
|
<hc-tooltip keys="tentative_material_commission_edit">
|
|
- <el-link v-if="row.status === 1" v-loading="rowLoad" type="primary" @click="rowEdit(row)">修改</el-link>
|
|
|
|
|
|
+ <el-link v-if="row.status === 1" v-loading="row.rowLoad" type="primary" @click="rowEdit(row)">修改</el-link>
|
|
<el-link v-else type="success" @click="rowView(row)">查看</el-link>
|
|
<el-link v-else type="success" @click="rowView(row)">查看</el-link>
|
|
</hc-tooltip>
|
|
</hc-tooltip>
|
|
<hc-tooltip keys="tentative_material_commission_fill">
|
|
<hc-tooltip keys="tentative_material_commission_fill">
|
|
@@ -394,7 +394,7 @@ const delegateHtmlRender = (form) => {
|
|
|
|
|
|
//修改
|
|
//修改
|
|
const editHtmlId = ref('')
|
|
const editHtmlId = ref('')
|
|
-const rowLoad = ref(false)
|
|
|
|
|
|
+
|
|
const rowEdit = async (row) => {
|
|
const rowEdit = async (row) => {
|
|
|
|
|
|
editHtmlId.value = row.id
|
|
editHtmlId.value = row.id
|
|
@@ -402,12 +402,12 @@ const rowEdit = async (row) => {
|
|
delegateContractId.value = contractId
|
|
delegateContractId.value = contractId
|
|
if (!isNullES(contractId)) {
|
|
if (!isNullES(contractId)) {
|
|
// delegateContractChange()
|
|
// delegateContractChange()
|
|
- rowLoad.value = true
|
|
|
|
|
|
+ row.rowLoad = true
|
|
delegateHtmlLoading.value = true
|
|
delegateHtmlLoading.value = true
|
|
|
|
|
|
await getDelegateExcelHtml()
|
|
await getDelegateExcelHtml()
|
|
await getDelegateDataInfo('', row.id)
|
|
await getDelegateDataInfo('', row.id)
|
|
- rowLoad.value = false
|
|
|
|
|
|
+ row. rowLoad = false
|
|
delegateHtmlLoading.value = false
|
|
delegateHtmlLoading.value = false
|
|
delegateModal.value = true
|
|
delegateModal.value = true
|
|
}
|
|
}
|