|
@@ -75,10 +75,9 @@
|
|
<div v-else>{{ rowNum(form.injuryRadio) + "%"}}</div>
|
|
<div v-else>{{ rowNum(form.injuryRadio) + "%"}}</div>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-
|
|
|
|
|
|
+ <!-- v-hasPermi="['business:socialSecurityDeclare:exportDetail']" -->
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <div style="display: flex; justify-content: flex-end;margin-bottom: 10px;margin-top: 10px;"
|
|
|
|
- v-hasPermi="['business:socialSecurityDeclare:exportDetail']">
|
|
|
|
|
|
+ <div style="display: flex; justify-content: flex-end;margin-bottom: 10px;margin-top: 10px;">
|
|
<el-button type="primary" @click="exportExcel"
|
|
<el-button type="primary" @click="exportExcel"
|
|
v-if="tableData!= null && tableData.length > 0">导出明细表</el-button>
|
|
v-if="tableData!= null && tableData.length > 0">导出明细表</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -365,8 +364,7 @@
|
|
<history ref="fromDialog" :currentMember="form.companyName"></history>
|
|
<history ref="fromDialog" :currentMember="form.companyName"></history>
|
|
<el-dialog title="退回" v-model="returnFlag" width="720px" append-to-body size="small" draggable
|
|
<el-dialog title="退回" v-model="returnFlag" width="720px" append-to-body size="small" draggable
|
|
:close-on-click-modal="false">
|
|
:close-on-click-modal="false">
|
|
- <el-form-item label="退回理由" prop="refuseReason" style="margin-top: 10px"
|
|
|
|
- :rules="[
|
|
|
|
|
|
+ <el-form-item label="退回理由" prop="refuseReason" style="margin-top: 10px" :rules="[
|
|
{
|
|
{
|
|
required: true,
|
|
required: true,
|
|
message: '退回理由不能为空',
|
|
message: '退回理由不能为空',
|
|
@@ -455,10 +453,15 @@
|
|
form.value.month = proxy.moment(currentMonth.value).format("MM");
|
|
form.value.month = proxy.moment(currentMonth.value).format("MM");
|
|
const { year, month, socialSecurityDeclareId, companyId, injuryRadio } = form.value
|
|
const { year, month, socialSecurityDeclareId, companyId, injuryRadio } = form.value
|
|
const clearForm = { year, month, socialSecurityDeclareId, companyId, injuryRadio }
|
|
const clearForm = { year, month, socialSecurityDeclareId, companyId, injuryRadio }
|
|
|
|
+ console.log(5656);
|
|
getDetail(clearForm).then((res) => {
|
|
getDetail(clearForm).then((res) => {
|
|
form.value = { ...proxy.deepClone(emptyForm), ...res.data };
|
|
form.value = { ...proxy.deepClone(emptyForm), ...res.data };
|
|
- form.value.evidenceFile = form.value.evidenceFiles[0].fileUrl;
|
|
|
|
|
|
+ if (form.value.evidenceFiles!=null&&form.value.evidenceFiles.length>0) {
|
|
|
|
+ form.value.evidenceFile = form.value.evidenceFiles[0].fileUrl;
|
|
|
|
+ }
|
|
|
|
+ console.log(form.value.evidenceFile);
|
|
getTableDetail(clearForm).then((res) => {
|
|
getTableDetail(clearForm).then((res) => {
|
|
|
|
+ console.log(2323);
|
|
tableData.value = res.data;
|
|
tableData.value = res.data;
|
|
if (form.value.unitPension === undefined || form.value.unitPension == 0) {
|
|
if (form.value.unitPension === undefined || form.value.unitPension == 0) {
|
|
let amount = 0
|
|
let amount = 0
|
|
@@ -682,9 +685,9 @@
|
|
|
|
|
|
returnFlag.value = true;
|
|
returnFlag.value = true;
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
- function submitForm(){
|
|
|
|
|
|
+ function submitForm() {
|
|
if (form.value.refuseReason == null) {
|
|
if (form.value.refuseReason == null) {
|
|
proxy.$modal.msgError("请填写退回原因");
|
|
proxy.$modal.msgError("请填写退回原因");
|
|
return
|
|
return
|