|
@@ -41,9 +41,9 @@
|
|
|
<el-button v-if="insertBtn" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'" size="default"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'" size="default"
|
|
|
@click="insertEvent('detail')" plain>
|
|
@click="insertEvent('detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -59,7 +59,7 @@
|
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -121,9 +121,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -186,9 +185,9 @@
|
|
|
<el-button style="margin-left: 20px" type="primary" v-if="insertBtn"
|
|
<el-button style="margin-left: 20px" type="primary" v-if="insertBtn"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'" size="default"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'" size="default"
|
|
|
@click="insertEvent('detail')" plain>
|
|
@click="insertEvent('detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -204,7 +203,7 @@
|
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -266,9 +265,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -331,9 +329,9 @@
|
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('detail')" plain>
|
|
@click="insertEvent('detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -349,7 +347,7 @@
|
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -406,9 +404,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -467,13 +464,12 @@
|
|
|
|
|
|
|
|
<div v-if="inputForm.sourceType === '2'">
|
|
<div v-if="inputForm.sourceType === '2'">
|
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
|
- 合同报销详情<span style="color: red;"
|
|
|
|
|
- v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
- <!-- <el-button size="default" style="margin-left: 20px" type="primary"
|
|
|
|
|
|
|
+ 合同报销详情<span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
+ <el-button size="default" style="margin-left: 20px" type="primary" v-if="insertBtn"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('contract_detail')" plain>
|
|
@click="insertEvent('contract_detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
- </el-button> -->
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
|
|
+ </el-button>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -531,8 +527,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120" show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120" show-overflow="title"
|
|
|
|
|
+ :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -594,9 +590,9 @@
|
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('report_detail')" plain>
|
|
@click="insertEvent('report_detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -612,7 +608,7 @@
|
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -675,9 +671,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -740,9 +735,9 @@
|
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('report_detail')" plain>
|
|
@click="insertEvent('report_detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -758,7 +753,7 @@
|
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -814,9 +809,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -880,9 +874,9 @@
|
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('others')" plain>
|
|
@click="insertEvent('others')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -898,7 +892,7 @@
|
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
:edit-config="{ trigger: 'click', mode: 'row', showStatus: true, autoClear: true, icon: '_' }"
|
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
:edit-rules="validRules" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -956,9 +950,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -1020,9 +1013,9 @@
|
|
|
采购报销详情
|
|
采购报销详情
|
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || this.formReadOnly" @click="insertEvent('procured')" plain>
|
|
:disabled="method === 'view' || this.formReadOnly" @click="insertEvent('procured')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -1080,8 +1073,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120" show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120" show-overflow="title"
|
|
|
|
|
+ :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -1140,9 +1133,9 @@
|
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
<el-button v-if="insertBtn" size="default" style="margin-left: 20px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('zs_project_detail')" plain>
|
|
@click="insertEvent('zs_project_detail')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <span style="color: red;" v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
|
|
+ <span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
<el-form inline :disabled="false" style="display: inline-block;">
|
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
<el-button v-if="this.isConfirm == 1" type="primary" size="default" style="margin-left: 10px;"
|
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@click="allSelect('0')">全部取消</el-button>
|
|
@@ -1160,7 +1153,7 @@
|
|
|
enterable: true
|
|
enterable: true
|
|
|
}" :row-config="{ keyField: 'uniqueId' }"
|
|
}" :row-config="{ keyField: 'uniqueId' }"
|
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
:expand-config="{ expandAll: false, accordion: false, toggleMethod: handleExpand, expandRowKeys: handleDefaultExpand() }">
|
|
|
- <vxe-column title="报销单" type="expand" width="80">
|
|
|
|
|
|
|
+ <vxe-column title="报销项" type="expand" width="80">
|
|
|
<template #default="{ row, rowIndex }">
|
|
<template #default="{ row, rowIndex }">
|
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
<span>{{ rowIndex + 1 }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -1237,9 +1230,8 @@
|
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
@blur="handleOrdinaryNumberInput(scope.row, 2)"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
</vxe-table-column>
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column field="subsidy" title="补贴" :edit-render="{}" width="120"
|
|
|
|
|
- show-overflow="title"
|
|
|
|
|
- :rules="[{ required: true, message: '请输入subsidy', trigger: 'blur' }]">
|
|
|
|
|
|
|
+ <vxe-table-column field="subsidy" title="其他" :edit-render="{}" width="120"
|
|
|
|
|
+ show-overflow="title" :rules="[{ required: true, message: '请输入其他', trigger: 'blur' }]">
|
|
|
<template #edit="scope">
|
|
<template #edit="scope">
|
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
<el-input maxlength="15" v-model="scope.row.subsidy"
|
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@input="handleOrdinaryNumberInput(scope.row, 3)"
|
|
@@ -1298,13 +1290,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="inputForm.reimbursementType === '0'">
|
|
<div v-if="inputForm.reimbursementType === '0'">
|
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>
|
|
|
- 专用发票信息<span style="color: red;"
|
|
|
|
|
- v-if="this.isConfirm == 4">(每个报销流程仅针对一张白色或蓝色报销单。可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
- <!-- <el-button size="default" style="margin-left: 10px" type="primary"
|
|
|
|
|
|
|
+ 专用发票信息<span style="color: red;" v-if="this.isConfirm == 4">(可在报销单后操作栏新增xml格式数电发票信息)</span>
|
|
|
|
|
+ <el-button size="default" style="margin-left: 10px" type="primary"
|
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
:disabled="method === 'view' || status === 'audit' || status === 'taskFormDetail'"
|
|
|
@click="insertEvent('amount')" plain>
|
|
@click="insertEvent('amount')" plain>
|
|
|
- 新增报销单
|
|
|
|
|
- </el-button> -->
|
|
|
|
|
|
|
+ 新增报销项
|
|
|
|
|
+ </el-button>
|
|
|
</el-divider>
|
|
</el-divider>
|
|
|
<el-row :gutter="15">
|
|
<el-row :gutter="15">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
@@ -1438,7 +1429,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- insertBtn: false,
|
|
|
|
|
|
|
+ insertBtn: true,
|
|
|
status: "",
|
|
status: "",
|
|
|
companyName: "",
|
|
companyName: "",
|
|
|
isConfirm: "2",
|
|
isConfirm: "2",
|
|
@@ -1593,14 +1584,14 @@ export default {
|
|
|
CwReimbursementTypePullFormCw
|
|
CwReimbursementTypePullFormCw
|
|
|
},
|
|
},
|
|
|
// inputForm.sourceType发生变化,就隐藏按钮,加一个深度监听
|
|
// inputForm.sourceType发生变化,就隐藏按钮,加一个深度监听
|
|
|
- watch: {
|
|
|
|
|
- 'inputForm.sourceType': {
|
|
|
|
|
- handler(newVal, oldVal) {
|
|
|
|
|
- this.insertBtn = false
|
|
|
|
|
- },
|
|
|
|
|
- deep: true
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // watch: {
|
|
|
|
|
+ // 'inputForm.sourceType': {
|
|
|
|
|
+ // handler(newVal, oldVal) {
|
|
|
|
|
+ // this.insertBtn = false
|
|
|
|
|
+ // },
|
|
|
|
|
+ // deep: true
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
computed: {
|
|
computed: {
|
|
|
name() {
|
|
name() {
|
|
|
return this.$store.state.user.name
|
|
return this.$store.state.user.name
|
|
@@ -1640,13 +1631,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
this.handleTableInfo(this.inputForm.sourceType)
|
|
this.handleTableInfo(this.inputForm.sourceType)
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
- if (this.tableData && this.tableData.length > 0) {
|
|
|
|
|
- if (this.tableData[0].typeName == '业务操作奖' || this.tableData[0].typeName == '业务差旅费') {
|
|
|
|
|
- this.insertBtn = true
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // this.$nextTick(() => {
|
|
|
|
|
+ // if (this.tableData && this.tableData.length > 0) {
|
|
|
|
|
+ // if (this.tableData[0].typeName == '业务操作奖' || this.tableData[0].typeName == '业务差旅费') {
|
|
|
|
|
+ // this.insertBtn = true
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ // })
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
// 删除
|
|
// 删除
|