|
@@ -4,7 +4,7 @@
|
|
|
<div class = "search-bx" >
|
|
<div class = "search-bx" >
|
|
|
<div class="search">
|
|
<div class="search">
|
|
|
<el-row :gutter="0">
|
|
<el-row :gutter="0">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-input v-model="tableObj.getdataListParm.parammaps.reimbursementCode" placeholder="报销申请单号" class="filter-item" style="width: 120px;padding-bottom:10px;" />
|
|
<el-input v-model="tableObj.getdataListParm.parammaps.reimbursementCode" placeholder="报销申请单号" class="filter-item" style="width: 120px;padding-bottom:10px;" />
|
|
|
|
|
|
|
|
<el-select v-model="tableObj.getdataListParm.parammaps.employeeId" placeholder="申报人" class="filter-item" style="width: 120px;" clearable filterable>
|
|
<el-select v-model="tableObj.getdataListParm.parammaps.employeeId" placeholder="申报人" class="filter-item" style="width: 120px;" clearable filterable>
|
|
@@ -28,35 +28,26 @@
|
|
|
|
|
|
|
|
<el-input v-model="tableObj.getdataListParm.parammaps.postCode" placeholder="寄送发票快递单号" style="width:120px"></el-input>
|
|
<el-input v-model="tableObj.getdataListParm.parammaps.postCode" placeholder="寄送发票快递单号" style="width:120px"></el-input>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
<el-date-picker v-model="tableObj.getdataListParm.parammaps.inputDatetime2" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="付款时间" end-placeholder="付款时间" style="width: 250px;" />
|
|
<el-date-picker v-model="tableObj.getdataListParm.parammaps.inputDatetime2" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="付款时间" end-placeholder="付款时间" style="width: 250px;" />
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<el-button class="successBorder" @click="form_search">查询</el-button>
|
|
<el-button class="successBorder" @click="form_search">查询</el-button>
|
|
|
<el-button class="successBorder" @click="form_clear">重置</el-button>
|
|
<el-button class="successBorder" @click="form_clear">重置</el-button>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<!-- <el-button class="success" icon="el-icon-upload2" @click="form_export">导出</el-button> -->
|
|
<!-- <el-button class="success" icon="el-icon-upload2" @click="form_export">导出</el-button> -->
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
<div class="table" >
|
|
<div class="table" >
|
|
|
<el-table :key="tableObj.tableKey" v-loading="tableObj.listLoading" element-loading-text="给我一点时间" :data="tableObj.list" border fit highlight-current-row style="width: 100%;" :row-style="rowStyle" :cell-style="cellStyle" class="elTable table-fixed" :max-height="myHeight">
|
|
<el-table :key="tableObj.tableKey" v-loading="tableObj.listLoading" element-loading-text="给我一点时间" :data="tableObj.list" border fit highlight-current-row style="width: 100%;" :row-style="rowStyle" :cell-style="cellStyle" class="elTable table-fixed" :max-height="myHeight">
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-table-column label="序号" align="center" type="index" width="50px" fixed="left">
|
|
<el-table-column label="序号" align="center" type="index" width="50px" fixed="left">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.$index + (tableObj.pageNum-1) * tableObj.pageSize + 1 }}</span>
|
|
<span>{{ scope.$index + (tableObj.pageNum-1) * tableObj.pageSize + 1 }}</span>
|
|
@@ -72,7 +63,7 @@
|
|
|
<span>{{ scope.row.payStatus }}</span>
|
|
<span>{{ scope.row.payStatus }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-table-column label="申报类型" min-width="90px" align="center" >
|
|
<el-table-column label="申报类型" min-width="90px" align="center" >
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.declareTypeName }}</span>
|
|
<span>{{ scope.row.declareTypeName }}</span>
|
|
@@ -113,22 +104,22 @@
|
|
|
<span>{{ scope.row.payDate }}</span>
|
|
<span>{{ scope.row.payDate }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-table-column label="备注" min-width="120px" align="center" show-overflow-tooltip>
|
|
<el-table-column label="备注" min-width="120px" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.remark }}</span>
|
|
<span>{{ scope.row.remark }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<el-table-column label="操作" align="center" :width="autoWidth" v-if="autoWidth !== 0" class-name="small-padding fixed-width" fixed="right">
|
|
<el-table-column label="操作" align="center" :width="autoWidth" v-if="autoWidth !== 0" class-name="small-padding fixed-width" fixed="right">
|
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-button class="miniSuccess" @click="form_sure(row)" v-if="isExpensespayAdd && row.isComplete == '1'">完成付款</el-button>
|
|
<el-button class="miniSuccess" @click="form_sure(row)" v-if="isExpensespayAdd && row.isComplete == '1'">完成付款</el-button>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-button class="miniSuccess" @click="form_revoke(row)" v-if="isExpensespayAdd && row.isRevoke == '1'">撤销</el-button>
|
|
<el-button class="miniSuccess" @click="form_revoke(row)" v-if="isExpensespayAdd && row.isRevoke == '1'">撤销</el-button>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
|
@@ -136,10 +127,10 @@
|
|
|
|
|
|
|
|
<el-row :gutter="0">
|
|
<el-row :gutter="0">
|
|
|
<el-col :span="6" :offset="12" style="color:#f00">
|
|
<el-col :span="6" :offset="12" style="color:#f00">
|
|
|
- 列表申报总金额:{{tableSumMoney}}
|
|
|
|
|
|
|
+ 列表申报总金额:{{tableSumMoney}}
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
<pagination v-show="tableObj.total>=0" :total="tableObj.total" :page.sync="tableObj.getdataListParm.offset" :limit.sync="tableObj.getdataListParm.pagecount" @pagination="get_table_data" />
|
|
<pagination v-show="tableObj.total>=0" :total="tableObj.total" :page.sync="tableObj.getdataListParm.offset" :limit.sync="tableObj.getdataListParm.pagecount" @pagination="get_table_data" />
|
|
@@ -149,11 +140,11 @@
|
|
|
<el-dialog title="报销申请详情" :visible.sync="create.dialogFormVisible" :close-on-click-modal="false" width="95%">
|
|
<el-dialog title="报销申请详情" :visible.sync="create.dialogFormVisible" :close-on-click-modal="false" width="95%">
|
|
|
<div class="app-add">
|
|
<div class="app-add">
|
|
|
<el-form ref="tempTableForm" :model="create.temp" label-position="right" label-width="150px" style="width: 95%;margin:0 auto 50px">
|
|
<el-form ref="tempTableForm" :model="create.temp" label-position="right" label-width="150px" style="width: 95%;margin:0 auto 50px">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-row :gutter="25">
|
|
<el-row :gutter="25">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col :span="declareTypeLength" >
|
|
<el-col :span="declareTypeLength" >
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-form-item label="报销人:" prop="employeeName">
|
|
<el-form-item label="报销人:" prop="employeeName">
|
|
|
<el-input ref="employeeName" v-model="create.temp.employeeName" class="filter-item" style="width: 100%;" disabled/>
|
|
<el-input ref="employeeName" v-model="create.temp.employeeName" class="filter-item" style="width: 100%;" disabled/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -165,7 +156,7 @@
|
|
|
<el-form-item label="申报金额:" prop="serviceCost">
|
|
<el-form-item label="申报金额:" prop="serviceCost">
|
|
|
<el-input ref="serviceCost" v-model="create.temp.serviceCost" class="filter-item" style="width: 100%;" disabled/>
|
|
<el-input ref="serviceCost" v-model="create.temp.serviceCost" class="filter-item" style="width: 100%;" disabled/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-form-item label="寄送发票快递名称:" prop="postName">
|
|
<el-form-item label="寄送发票快递名称:" prop="postName">
|
|
|
<el-input ref="postName" v-model="create.temp.postName" class="filter-item" style="width: 100%;" maxlength="11" placeholder="" disabled />
|
|
<el-input ref="postName" v-model="create.temp.postName" class="filter-item" style="width: 100%;" maxlength="11" placeholder="" disabled />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -186,14 +177,14 @@
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="6" v-for="(item,index) in tableInvocieList ">
|
|
<el-col :span="6" v-for="(item,index) in tableInvocieList ">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-image style="width: 250px; height: 250px;display:inline-block" :src="item"></el-image>
|
|
|
|
|
|
|
+ <el-image style="width: 250px; height: 250px;display:inline-block" :src="item"></el-image>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col :span="16" v-if ="declareType == 1">
|
|
<el-col :span="16" v-if ="declareType == 1">
|
|
|
|
|
|
|
|
<h3>报销清单</h3>
|
|
<h3>报销清单</h3>
|
|
@@ -202,7 +193,7 @@
|
|
|
<el-button class="miniPrimary" @click="choose_travel()">关联出差单</el-button>
|
|
<el-button class="miniPrimary" @click="choose_travel()">关联出差单</el-button>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row v-if="create.dialogStatus=='create' || create.dialogStatus=='update'">
|
|
<el-row v-if="create.dialogStatus=='create' || create.dialogStatus=='update'">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="创建人:" prop="vdate">
|
|
<el-form-item label="创建人:" prop="vdate">
|
|
|
<el-input v-model="create.temp.vdate" disabled/>
|
|
<el-input v-model="create.temp.vdate" disabled/>
|
|
@@ -222,9 +213,6 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row>
|
|
<el-row>
|
|
@@ -248,39 +236,39 @@
|
|
|
<el-table-column label="拜见人" min-width="110px" align="center">
|
|
<el-table-column label="拜见人" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.clienter }}</span>
|
|
<span >{{ scope.row.clienter }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="差旅费" min-width="110px" align="center">
|
|
<el-table-column label="差旅费" min-width="110px" align="center">
|
|
|
<el-table-column label="交通费" min-width="110px" align="center">
|
|
<el-table-column label="交通费" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.toll }}</span>
|
|
<span >{{ scope.row.toll }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="油费" min-width="110px" align="center">
|
|
<el-table-column label="油费" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.oilCost }}</span>
|
|
<span >{{ scope.row.oilCost }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="住宿费" min-width="110px" align="center">
|
|
<el-table-column label="住宿费" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.hotelCost }}</span>
|
|
<span >{{ scope.row.hotelCost }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="业务招待费" min-width="110px" align="center">
|
|
<el-table-column label="业务招待费" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.serviceCost }}</span>
|
|
<span >{{ scope.row.serviceCost }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="其他费用" min-width="110px" align="center">
|
|
<el-table-column label="其他费用" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.otherCost }}</span>
|
|
<span >{{ scope.row.otherCost }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="合计" min-width="110px" align="center">
|
|
<el-table-column label="合计" min-width="110px" align="center">
|
|
@@ -293,19 +281,19 @@
|
|
|
<span>{{ scope.row.travelCode }}</span>
|
|
<span>{{ scope.row.travelCode }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="16" v-if ="declareType == 2">
|
|
<el-col :span="16" v-if ="declareType == 2">
|
|
|
<h3>报销清单</h3>
|
|
<h3>报销清单</h3>
|
|
|
|
|
|
|
|
<el-row >
|
|
<el-row >
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="创建人:" prop="vdate">
|
|
<el-form-item label="创建人:" prop="vdate">
|
|
|
<el-input v-model="create.temp.vdate" disabled/>
|
|
<el-input v-model="create.temp.vdate" disabled/>
|
|
@@ -315,7 +303,7 @@
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="时间:" prop="billDate">
|
|
<el-form-item label="时间:" prop="billDate">
|
|
|
<el-input v-model="create.temp.billDate" disabled/>
|
|
<el-input v-model="create.temp.billDate" disabled/>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
@@ -326,9 +314,6 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row>
|
|
<el-row>
|
|
@@ -343,19 +328,19 @@
|
|
|
<el-table-column label="类型" min-width="110px" align="center">
|
|
<el-table-column label="类型" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.goodsType }}</span>
|
|
<span >{{ scope.row.goodsType }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="名称" min-width="110px" align="center">
|
|
<el-table-column label="名称" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.goodsName }}</span>
|
|
<span >{{ scope.row.goodsName }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="购买日期" min-width="110px" align="center">
|
|
<el-table-column label="购买日期" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.purchaseDate }}</span>
|
|
<span >{{ scope.row.purchaseDate }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="数量" min-width="110px" align="center">
|
|
<el-table-column label="数量" min-width="110px" align="center">
|
|
@@ -372,24 +357,22 @@
|
|
|
<el-table-column label="单价" min-width="110px" align="center">
|
|
<el-table-column label="单价" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.goodsPrice }}</span>
|
|
<span >{{ scope.row.goodsPrice }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="合计" min-width="110px" align="center">
|
|
<el-table-column label="合计" min-width="110px" align="center">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseFloat(scope.row.toll) + parseFloat(scope.row.oilCost) }}</span>
|
|
<span>{{ parseFloat(scope.row.toll) + parseFloat(scope.row.oilCost) }}</span>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
- </el-row>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
-
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -405,17 +388,15 @@
|
|
|
<div class="app-add">
|
|
<div class="app-add">
|
|
|
|
|
|
|
|
|
|
|
|
|
- <RemotePayDetail :remote-data="remoteData" />
|
|
|
|
|
|
|
+ <RemotePayDetail :remote-data="remoteData" />
|
|
|
|
|
+
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
-
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
<el-button class="cancelClose" @click="dialog_close()">关闭</el-button>
|
|
<el-button class="cancelClose" @click="dialog_close()">关闭</el-button>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -427,12 +408,12 @@
|
|
|
<el-form ref="suretemp" :rules="sure.rules" :model="sure.temp" label-position="right" label-width="150px" style="width: 70%;margin:0 auto 50px">
|
|
<el-form ref="suretemp" :rules="sure.rules" :model="sure.temp" label-position="right" label-width="150px" style="width: 70%;margin:0 auto 50px">
|
|
|
|
|
|
|
|
<el-form-item label="付款时间:" prop="collectDate">
|
|
<el-form-item label="付款时间:" prop="collectDate">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-date-picker v-model="sure.temp.collectDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" :picker-options="setDisabled" style="width: 100%;" :clearable="false" />
|
|
<el-date-picker v-model="sure.temp.collectDate" type="date" placeholder="选择日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" :picker-options="setDisabled" style="width: 100%;" :clearable="false" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button class="cancelClose" @click="dialog_sure_close()">关闭</el-button>
|
|
<el-button class="cancelClose" @click="dialog_sure_close()">关闭</el-button>
|
|
@@ -449,8 +430,8 @@
|
|
|
<el-form-item label="撤销原因:" prop="revokeReason">
|
|
<el-form-item label="撤销原因:" prop="revokeReason">
|
|
|
<el-input ref="remark" v-model="revoke.temp.revokeReason" type="textarea" :autosize="{ minRows: 4, maxRows: 8} " :rows="8" placeholder="请输入,最多200个字" maxlength="200" class="filter-item" style="width: 100%;" />
|
|
<el-input ref="remark" v-model="revoke.temp.revokeReason" type="textarea" :autosize="{ minRows: 4, maxRows: 8} " :rows="8" placeholder="请输入,最多200个字" maxlength="200" class="filter-item" style="width: 100%;" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button class="cancelClose" @click="revoke.dialogFormVisible = false;get_table_data()">关闭</el-button>
|
|
<el-button class="cancelClose" @click="revoke.dialogFormVisible = false;get_table_data()">关闭</el-button>
|
|
@@ -466,7 +447,7 @@
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="6" v-for="(item,index) in tableInvocieList ">
|
|
<el-col :span="6" v-for="(item,index) in tableInvocieList ">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-image style="width: 350px; height: 350px;display:inline-block" :src="item"></el-image>
|
|
|
|
|
|
|
+ <el-image style="width: 350px; height: 350px;display:inline-block" :src="item"></el-image>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -492,7 +473,7 @@ import Pagination from '@/components/Pagination'
|
|
|
import { MessageBox } from 'element-ui'
|
|
import { MessageBox } from 'element-ui'
|
|
|
|
|
|
|
|
import RemotePayDetail from '@/componentView/RemotePayDetail.vue'
|
|
import RemotePayDetail from '@/componentView/RemotePayDetail.vue'
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
import { constants } from 'zlib';
|
|
import { constants } from 'zlib';
|
|
|
|
|
|
|
|
|
|
|
|
@@ -504,7 +485,7 @@ export default {
|
|
|
myHeight:document.documentElement.clientHeight - 85 - 160,
|
|
myHeight:document.documentElement.clientHeight - 85 - 160,
|
|
|
employeid: Cookies.get('employeid'),
|
|
employeid: Cookies.get('employeid'),
|
|
|
disabled: false,
|
|
disabled: false,
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
rowData:{},
|
|
rowData:{},
|
|
|
isHome:"",
|
|
isHome:"",
|
|
|
|
|
|
|
@@ -512,7 +493,6 @@ export default {
|
|
|
sumPriceAll2:0,
|
|
sumPriceAll2:0,
|
|
|
isRoleEdit: [],isExpensespayAdd: [],
|
|
isRoleEdit: [],isExpensespayAdd: [],
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
send_select_list: [
|
|
send_select_list: [
|
|
|
{ name: 'getUserFuzzy', offset: 0, pagecount: 0, parammaps: { "inputvalue": "" } },
|
|
{ name: 'getUserFuzzy', offset: 0, pagecount: 0, parammaps: { "inputvalue": "" } },
|
|
@@ -525,13 +505,13 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
// 下拉框 - 创建人
|
|
// 下拉框 - 创建人
|
|
|
- createrNameList: [],
|
|
|
|
|
|
|
+ createrNameList: [],
|
|
|
|
|
|
|
|
|
|
|
|
|
// 下拉框 - 款项状态
|
|
// 下拉框 - 款项状态
|
|
|
moneyNameList: [
|
|
moneyNameList: [
|
|
|
- { "name": "未付款", "id": "未付款" },
|
|
|
|
|
- { "name": "已付款", "id": "已付款" }
|
|
|
|
|
|
|
+ { "name": "未付款", "id": "未付款" },
|
|
|
|
|
+ { "name": "已付款", "id": "已付款" }
|
|
|
],
|
|
],
|
|
|
|
|
|
|
|
// 下拉框 - 申报类型
|
|
// 下拉框 - 申报类型
|
|
@@ -550,16 +530,10 @@ export default {
|
|
|
{ "name": "手续费", "id": "手续费" },
|
|
{ "name": "手续费", "id": "手续费" },
|
|
|
{ "name": "采购", "id": "采购" },
|
|
{ "name": "采购", "id": "采购" },
|
|
|
{ "name": "其他费用", "id": "其他费用" },
|
|
{ "name": "其他费用", "id": "其他费用" },
|
|
|
- ],
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ ],
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
- //表格 - 列表 - 查询
|
|
|
|
|
|
|
+ //表格 - 列表 - 查询
|
|
|
tableObj: {
|
|
tableObj: {
|
|
|
getdataListParm: {
|
|
getdataListParm: {
|
|
|
name: 'getReimbursementCost',
|
|
name: 'getReimbursementCost',
|
|
@@ -572,20 +546,20 @@ export default {
|
|
|
employeeId: "",
|
|
employeeId: "",
|
|
|
payStatus: "",
|
|
payStatus: "",
|
|
|
declareTypeName: "",
|
|
declareTypeName: "",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
postCode: "",
|
|
postCode: "",
|
|
|
beginServiceCost: "",
|
|
beginServiceCost: "",
|
|
|
endServiceCost: "",
|
|
endServiceCost: "",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
inputDatetime1: "",
|
|
inputDatetime1: "",
|
|
|
inputDatetime2: "",
|
|
inputDatetime2: "",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
beginDeclareDate: "",
|
|
beginDeclareDate: "",
|
|
|
endDeclareDate: "",
|
|
endDeclareDate: "",
|
|
|
beginPayDate: "",
|
|
beginPayDate: "",
|
|
|
endPayDate: "",
|
|
endPayDate: "",
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
tableKey: 0,
|
|
tableKey: 0,
|
|
@@ -610,20 +584,20 @@ export default {
|
|
|
employeeId: "",
|
|
employeeId: "",
|
|
|
payStatus: "",
|
|
payStatus: "",
|
|
|
declareTypeName: "",
|
|
declareTypeName: "",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
postCode: "",
|
|
postCode: "",
|
|
|
beginServiceCost: "",
|
|
beginServiceCost: "",
|
|
|
endServiceCost: "",
|
|
endServiceCost: "",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
inputDatetime1: "",
|
|
inputDatetime1: "",
|
|
|
inputDatetime2: "",
|
|
inputDatetime2: "",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
beginDeclareDate: "",
|
|
beginDeclareDate: "",
|
|
|
endDeclareDate: "",
|
|
endDeclareDate: "",
|
|
|
beginPayDate: "",
|
|
beginPayDate: "",
|
|
|
endPayDate: "",
|
|
endPayDate: "",
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
tableKey: 0,
|
|
tableKey: 0,
|
|
@@ -633,16 +607,13 @@ export default {
|
|
|
temp: {}
|
|
temp: {}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
createSee:{
|
|
createSee:{
|
|
|
temp:{},
|
|
temp:{},
|
|
|
dialogFormVisible: false,
|
|
dialogFormVisible: false,
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
textMap: {
|
|
textMap: {
|
|
|
create: '新增',
|
|
create: '新增',
|
|
|
see: '查看',
|
|
see: '查看',
|
|
@@ -654,7 +625,7 @@ export default {
|
|
|
create: {
|
|
create: {
|
|
|
dialogFormVisible: false,
|
|
dialogFormVisible: false,
|
|
|
dialogStatus: '',
|
|
dialogStatus: '',
|
|
|
- temp: {employeeId: '', declareTypeName: '', serviceCost: '', billDate: parseTime(new Date(), '{y}-{m}-{d}'), postName: '', postCode: '', declareReason: '', remark: '',
|
|
|
|
|
|
|
+ temp: {employeeId: '', declareTypeName: '', serviceCost: '', billDate: parseTime(new Date(), '{y}-{m}-{d}'), postName: '', postCode: '', declareReason: '', remark: '',
|
|
|
scenePhoto1: -1, scenePhoto2: -1, scenePhoto3: -1, scenePhoto4: -1, scenePhoto5: -1, scenePhoto6: -1, scenePhoto7: -1, scenePhoto8: -1, scenePhoto9: -1,scenePhoto10: -1,
|
|
scenePhoto1: -1, scenePhoto2: -1, scenePhoto3: -1, scenePhoto4: -1, scenePhoto5: -1, scenePhoto6: -1, scenePhoto7: -1, scenePhoto8: -1, scenePhoto9: -1,scenePhoto10: -1,
|
|
|
picname1: '', picname2: '', picname3: '', picname4: '', picname5: '', picname6: '', picname7: '', picname8: '', picname9: '', picname10: '',},
|
|
picname1: '', picname2: '', picname3: '', picname4: '', picname5: '', picname6: '', picname7: '', picname8: '', picname9: '', picname10: '',},
|
|
|
rules: {
|
|
rules: {
|
|
@@ -678,9 +649,7 @@ export default {
|
|
|
returntype: 'Map',
|
|
returntype: 'Map',
|
|
|
parammaps: { id: "" }
|
|
parammaps: { id: "" }
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -702,9 +671,9 @@ export default {
|
|
|
],
|
|
],
|
|
|
//z这里表格初始ID
|
|
//z这里表格初始ID
|
|
|
tableBuyId:91,
|
|
tableBuyId:91,
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
imageUrl0:"",
|
|
imageUrl0:"",
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 撤销
|
|
// 撤销
|
|
|
revoke: {
|
|
revoke: {
|
|
|
dialogFormVisible: false,
|
|
dialogFormVisible: false,
|
|
@@ -756,13 +725,12 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
watch: {
|
|
watch: {
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
created() {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.get_select_list()
|
|
this.get_select_list()
|
|
|
this.get_auto_buttons()
|
|
this.get_auto_buttons()
|
|
|
|
|
|
|
@@ -771,7 +739,7 @@ export default {
|
|
|
var codeNum = this.$route.params.codeNum
|
|
var codeNum = this.$route.params.codeNum
|
|
|
|
|
|
|
|
console.log("rowData",rowData,"======isHome",isHome,"======codeNum",codeNum)
|
|
console.log("rowData",rowData,"======isHome",isHome,"======codeNum",codeNum)
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
if(isHome == 'home'){
|
|
if(isHome == 'home'){
|
|
|
this.rowData = rowData
|
|
this.rowData = rowData
|
|
@@ -783,7 +751,7 @@ export default {
|
|
|
this.rowData = {}
|
|
this.rowData = {}
|
|
|
this.isHome = ""
|
|
this.isHome = ""
|
|
|
this.codeNum = ""
|
|
this.codeNum = ""
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -791,7 +759,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
watch: {
|
|
watch: {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
tableTravelList: {
|
|
tableTravelList: {
|
|
|
deep: true,
|
|
deep: true,
|
|
|
handler: function (item) {
|
|
handler: function (item) {
|
|
@@ -800,11 +768,10 @@ export default {
|
|
|
this.tableTravelList.forEach(function(i){
|
|
this.tableTravelList.forEach(function(i){
|
|
|
sum = parseFloat(i.toll) + parseFloat(i.oilCost)+ parseFloat(i.hotelCost) + parseFloat(i.serviceCost) + parseFloat(i.otherCost) + sum
|
|
sum = parseFloat(i.toll) + parseFloat(i.oilCost)+ parseFloat(i.hotelCost) + parseFloat(i.serviceCost) + parseFloat(i.otherCost) + sum
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.sumPriceAll1 = sum
|
|
this.sumPriceAll1 = sum
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
tableBuyList: {
|
|
tableBuyList: {
|
|
@@ -815,26 +782,18 @@ export default {
|
|
|
this.tableBuyList.forEach(function(i){
|
|
this.tableBuyList.forEach(function(i){
|
|
|
sum = parseFloat(i.goodsPrice) * parseFloat(i.goodsNum) + sum
|
|
sum = parseFloat(i.goodsPrice) * parseFloat(i.goodsNum) + sum
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.sumPriceAll2 = sum
|
|
this.sumPriceAll2 = sum
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
//获取按钮权限
|
|
//获取按钮权限
|
|
|
get_auto_buttons() {
|
|
get_auto_buttons() {
|
|
@@ -850,10 +809,10 @@ export default {
|
|
|
get_select_list() {
|
|
get_select_list() {
|
|
|
|
|
|
|
|
GetDataByNames(this.send_select_list).then(response => {
|
|
GetDataByNames(this.send_select_list).then(response => {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.employeeNameList = response.data.getUserFuzzy.list
|
|
this.employeeNameList = response.data.getUserFuzzy.list
|
|
|
console.log("申报人下拉框", this.employeeNameList)
|
|
console.log("申报人下拉框", this.employeeNameList)
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -867,7 +826,7 @@ export default {
|
|
|
console.log('table数据======>', response.data.list)
|
|
console.log('table数据======>', response.data.list)
|
|
|
if (response.data.list !== null) {
|
|
if (response.data.list !== null) {
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.tableObj.list = response.data.list
|
|
this.tableObj.list = response.data.list
|
|
|
this.tableObj.pageNum = response.data.pageNum
|
|
this.tableObj.pageNum = response.data.pageNum
|
|
|
this.tableObj.pageSize = response.data.pageSize
|
|
this.tableObj.pageSize = response.data.pageSize
|
|
@@ -886,15 +845,15 @@ export default {
|
|
|
if(me.isExpensespayAdd && row.isRevoke == '1'){
|
|
if(me.isExpensespayAdd && row.isRevoke == '1'){
|
|
|
itemBtnNum = itemBtnNum + 1
|
|
itemBtnNum = itemBtnNum + 1
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
console.log(itemBtnNum)
|
|
console.log(itemBtnNum)
|
|
|
if(itemBtnNum > btnNum){
|
|
if(itemBtnNum > btnNum){
|
|
|
btnNum = itemBtnNum
|
|
btnNum = itemBtnNum
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
console.log("btnNum=============",btnNum)
|
|
console.log("btnNum=============",btnNum)
|
|
|
- me.autoWidth = btnNum * 90
|
|
|
|
|
|
|
+ me.autoWidth = btnNum * 90
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -906,8 +865,6 @@ export default {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
var send_price = {
|
|
var send_price = {
|
|
|
name: 'getReimbursementCostOfPrice',
|
|
name: 'getReimbursementCostOfPrice',
|
|
|
parammaps: this.tableObj.getdataListParm.parammaps
|
|
parammaps: this.tableObj.getdataListParm.parammaps
|
|
@@ -917,23 +874,18 @@ export default {
|
|
|
console.log('table总价格数据======>', response )
|
|
console.log('table总价格数据======>', response )
|
|
|
if (response.data.list !== null) {
|
|
if (response.data.list !== null) {
|
|
|
this.tableSumMoney = response.data.list[0].totlePrice
|
|
this.tableSumMoney = response.data.list[0].totlePrice
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
} else {
|
|
} else {
|
|
|
this.tableSumMoney = ""
|
|
this.tableSumMoney = ""
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
form_search() {
|
|
form_search() {
|
|
|
console.log('点击了查询')
|
|
console.log('点击了查询')
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
if (this.tableObj.getdataListParm.parammaps.inputDatetime1 !== '' && this.tableObj.getdataListParm.parammaps.inputDatetime1 !== null) {
|
|
if (this.tableObj.getdataListParm.parammaps.inputDatetime1 !== '' && this.tableObj.getdataListParm.parammaps.inputDatetime1 !== null) {
|
|
|
this.tableObj.getdataListParm.parammaps.beginDeclareDate = parseTime(this.tableObj.getdataListParm.parammaps.inputDatetime1[0], '{y}-{m}-{d}')
|
|
this.tableObj.getdataListParm.parammaps.beginDeclareDate = parseTime(this.tableObj.getdataListParm.parammaps.inputDatetime1[0], '{y}-{m}-{d}')
|
|
@@ -953,8 +905,6 @@ export default {
|
|
|
this.tableObj.getdataListParm.parammaps.endPayDate = ''
|
|
this.tableObj.getdataListParm.parammaps.endPayDate = ''
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
this.tableObj.getdataListParm.offset = 1
|
|
this.tableObj.getdataListParm.offset = 1
|
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
@@ -962,7 +912,7 @@ export default {
|
|
|
form_clear() {
|
|
form_clear() {
|
|
|
console.log('点击了重置')
|
|
console.log('点击了重置')
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.tableObj.getdataListParm.parammaps.reimbursementCode = ''
|
|
this.tableObj.getdataListParm.parammaps.reimbursementCode = ''
|
|
|
this.tableObj.getdataListParm.parammaps.employeeId = ''
|
|
this.tableObj.getdataListParm.parammaps.employeeId = ''
|
|
|
this.tableObj.getdataListParm.parammaps.payStatus = ''
|
|
this.tableObj.getdataListParm.parammaps.payStatus = ''
|
|
@@ -970,32 +920,26 @@ export default {
|
|
|
|
|
|
|
|
this.tableObj.getdataListParm.parammaps.postCode = ''
|
|
this.tableObj.getdataListParm.parammaps.postCode = ''
|
|
|
this.tableObj.getdataListParm.parammaps.beginServiceCost = ''
|
|
this.tableObj.getdataListParm.parammaps.beginServiceCost = ''
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.tableObj.getdataListParm.parammaps.endServiceCost = ''
|
|
this.tableObj.getdataListParm.parammaps.endServiceCost = ''
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
this.tableObj.getdataListParm.parammaps.inputDatetime1 = ''
|
|
this.tableObj.getdataListParm.parammaps.inputDatetime1 = ''
|
|
|
this.tableObj.getdataListParm.parammaps.inputDatetime2 = ''
|
|
this.tableObj.getdataListParm.parammaps.inputDatetime2 = ''
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.tableObj.getdataListParm.parammaps.beginDeclareDate = ''
|
|
this.tableObj.getdataListParm.parammaps.beginDeclareDate = ''
|
|
|
this.tableObj.getdataListParm.parammaps.endDeclareDate = ''
|
|
this.tableObj.getdataListParm.parammaps.endDeclareDate = ''
|
|
|
this.tableObj.getdataListParm.parammaps.beginPayDate = ''
|
|
this.tableObj.getdataListParm.parammaps.beginPayDate = ''
|
|
|
this.tableObj.getdataListParm.parammaps.endPayDate = ''
|
|
this.tableObj.getdataListParm.parammaps.endPayDate = ''
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
this.tableObj.getdataListParm.offset = 1
|
|
this.tableObj.getdataListParm.offset = 1
|
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
// 查看
|
|
// 查看
|
|
|
form_see_nums(row) {
|
|
form_see_nums(row) {
|
|
|
console.log(row)
|
|
console.log(row)
|
|
@@ -1039,8 +983,8 @@ export default {
|
|
|
tableInvocieList.push(url)
|
|
tableInvocieList.push(url)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- this.tableInvocieList = tableInvocieList
|
|
|
|
|
|
|
+
|
|
|
|
|
+ this.tableInvocieList = tableInvocieList
|
|
|
console.log( this.tableInvocieList )
|
|
console.log( this.tableInvocieList )
|
|
|
|
|
|
|
|
this.createSeeNums.dialogFormVisible = true
|
|
this.createSeeNums.dialogFormVisible = true
|
|
@@ -1053,7 +997,7 @@ export default {
|
|
|
this.imageIsShow = true
|
|
this.imageIsShow = true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// 查看
|
|
// 查看
|
|
|
form_see(row) {
|
|
form_see(row) {
|
|
|
console.log('点击了查看', row)
|
|
console.log('点击了查看', row)
|
|
@@ -1105,13 +1049,12 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
- this.tableInvocieList = tableInvocieList
|
|
|
|
|
|
|
+ this.tableInvocieList = tableInvocieList
|
|
|
console.log( this.tableInvocieList )
|
|
console.log( this.tableInvocieList )
|
|
|
|
|
|
|
|
|
|
|
|
|
if(row.declareTypeName == "出差"){
|
|
if(row.declareTypeName == "出差"){
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
this.declareType = 1
|
|
this.declareType = 1
|
|
|
this.declareTypeLength = 8
|
|
this.declareTypeLength = 8
|
|
@@ -1120,7 +1063,7 @@ export default {
|
|
|
|
|
|
|
|
} else if(row.declareTypeName == "采购"){
|
|
} else if(row.declareTypeName == "采购"){
|
|
|
this.declareType = 2
|
|
this.declareType = 2
|
|
|
- this.declareTypeLength = 8
|
|
|
|
|
|
|
+ this.declareTypeLength = 8
|
|
|
this.create.getTableBuyListParm.parammaps.id = row.id
|
|
this.create.getTableBuyListParm.parammaps.id = row.id
|
|
|
this.getTableBuyList()
|
|
this.getTableBuyList()
|
|
|
} else {
|
|
} else {
|
|
@@ -1128,7 +1071,6 @@ export default {
|
|
|
this.declareTypeLength = 24
|
|
this.declareTypeLength = 24
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
this.create.dialogStatus = 'see'
|
|
this.create.dialogStatus = 'see'
|
|
|
this.create.dialogFormVisible = true
|
|
this.create.dialogFormVisible = true
|
|
@@ -1137,33 +1079,31 @@ export default {
|
|
|
getTableTravelList(){
|
|
getTableTravelList(){
|
|
|
GetDataByName(this.create.getTableTravelListParm).then(response => {
|
|
GetDataByName(this.create.getTableTravelListParm).then(response => {
|
|
|
if (response.data.list !== null) {
|
|
if (response.data.list !== null) {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.tableTravelList = response.data.list
|
|
this.tableTravelList = response.data.list
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
} else {
|
|
} else {
|
|
|
this.tableTravelList = []
|
|
this.tableTravelList = []
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- console.log("出差小表格", this.tableTravelList)
|
|
|
|
|
|
|
+
|
|
|
|
|
+ console.log("出差小表格", this.tableTravelList)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
getTableBuyList(){
|
|
getTableBuyList(){
|
|
|
GetDataByName(this.create.getTableBuyListParm).then(response => {
|
|
GetDataByName(this.create.getTableBuyListParm).then(response => {
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
if (response.data.list !== null) {
|
|
if (response.data.list !== null) {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.tableBuyList = response.data.list
|
|
this.tableBuyList = response.data.list
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
} else {
|
|
} else {
|
|
|
this.tableBuyList = []
|
|
this.tableBuyList = []
|
|
|
}
|
|
}
|
|
|
- console.log("采购小表格", this.tableBuyList)
|
|
|
|
|
|
|
+ console.log("采购小表格", this.tableBuyList)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
// 确认回收
|
|
// 确认回收
|
|
|
form_sure(row) {
|
|
form_sure(row) {
|
|
@@ -1184,9 +1124,9 @@ export default {
|
|
|
var send_data = {
|
|
var send_data = {
|
|
|
name: 'completeReimbursementCost',
|
|
name: 'completeReimbursementCost',
|
|
|
parammaps: this.sure.temp
|
|
parammaps: this.sure.temp
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
PostDataByName(send_data).then(response => {
|
|
PostDataByName(send_data).then(response => {
|
|
|
console.log('确认回收参数', send_data)
|
|
console.log('确认回收参数', send_data)
|
|
|
if (response.msg !== 'fail') {
|
|
if (response.msg !== 'fail') {
|
|
@@ -1201,15 +1141,13 @@ export default {
|
|
|
|
|
|
|
|
if(this.isHome == 'home'){
|
|
if(this.isHome == 'home'){
|
|
|
// 返回首页
|
|
// 返回首页
|
|
|
- this.$router.push({ name: 'Dashboard', params: { isTodo: 'expensesp' }})
|
|
|
|
|
|
|
+ this.$router.push({ name: 'Dashboard', params: { isTodo: 'expensesp' }})
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.$notify({ title: '失败', message: '提交失败' + response.data, type: 'error', duration: 2000 })
|
|
this.$notify({ title: '失败', message: '提交失败' + response.data, type: 'error', duration: 2000 })
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -1220,14 +1158,14 @@ export default {
|
|
|
form_revoke(row) {
|
|
form_revoke(row) {
|
|
|
console.log('点击了撤销', row)
|
|
console.log('点击了撤销', row)
|
|
|
this.reset_revoke()
|
|
this.reset_revoke()
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.revoke.temp.id = row.id
|
|
this.revoke.temp.id = row.id
|
|
|
this.revoke.dialogFormVisible = true
|
|
this.revoke.dialogFormVisible = true
|
|
|
},
|
|
},
|
|
|
// 撤销 - 重置
|
|
// 撤销 - 重置
|
|
|
reset_revoke() {
|
|
reset_revoke() {
|
|
|
this.revoke.temp.revokeReason = ""
|
|
this.revoke.temp.revokeReason = ""
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 撤销 - 确认
|
|
// 撤销 - 确认
|
|
@@ -1237,8 +1175,8 @@ export default {
|
|
|
var send_data = {
|
|
var send_data = {
|
|
|
name: 'revokeReimbursementCost',
|
|
name: 'revokeReimbursementCost',
|
|
|
parammaps: this.revoke.temp
|
|
parammaps: this.revoke.temp
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$confirm('是否撤销该条记录?', '提示', {
|
|
this.$confirm('是否撤销该条记录?', '提示', {
|
|
@@ -1254,7 +1192,7 @@ export default {
|
|
|
this.revoke.dialogFormVisible = false
|
|
this.revoke.dialogFormVisible = false
|
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
var rowId = this.revoke.temp.id
|
|
var rowId = this.revoke.temp.id
|
|
|
this.get_wxPush(70,'报销',rowId)
|
|
this.get_wxPush(70,'报销',rowId)
|
|
|
} else {
|
|
} else {
|
|
@@ -1266,9 +1204,9 @@ export default {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
type: 'info',
|
|
type: 'info',
|
|
|
message: '已取消删除'
|
|
message: '已取消删除'
|
|
|
- });
|
|
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -1280,7 +1218,7 @@ export default {
|
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
|
if(this.isHome == 'home'){
|
|
if(this.isHome == 'home'){
|
|
|
// 返回首页
|
|
// 返回首页
|
|
|
- this.$router.push({ name: 'Dashboard', params: { isTodo: 'sitep' }})
|
|
|
|
|
|
|
+ this.$router.push({ name: 'Dashboard', params: { isTodo: 'sitep' }})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -1289,15 +1227,15 @@ export default {
|
|
|
this.get_table_data()
|
|
this.get_table_data()
|
|
|
if(this.isHome == 'home'){
|
|
if(this.isHome == 'home'){
|
|
|
// 返回首页
|
|
// 返回首页
|
|
|
- this.$router.push({ name: 'Dashboard', params: { isTodo: 'sitep' }})
|
|
|
|
|
|
|
+ this.$router.push({ name: 'Dashboard', params: { isTodo: 'sitep' }})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 导出
|
|
// 导出
|
|
|
form_export(item) {
|
|
form_export(item) {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.download.getdataListParm.parammaps = this.tableObj.getdataListParm.parammaps
|
|
this.download.getdataListParm.parammaps = this.tableObj.getdataListParm.parammaps
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
GetDataByName(this.download.getdataListParm).then(response => {
|
|
GetDataByName(this.download.getdataListParm).then(response => {
|
|
|
if (response.data.list !== null) {
|
|
if (response.data.list !== null) {
|
|
|
this.download.list = response.data.list
|
|
this.download.list = response.data.list
|
|
@@ -1314,7 +1252,7 @@ export default {
|
|
|
]
|
|
]
|
|
|
json2excel(excelDatas, '报销款项', true, 'xlsx')
|
|
json2excel(excelDatas, '报销款项', true, 'xlsx')
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// 导入
|
|
// 导入
|
|
@@ -1333,7 +1271,7 @@ export default {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
GetDataByName(send_weixin_data1).then(response => {
|
|
GetDataByName(send_weixin_data1).then(response => {
|
|
|
console.log('微信推送(获取参数)======>', response )
|
|
console.log('微信推送(获取参数)======>', response )
|
|
|
if (response.data.message == 'ok') {
|
|
if (response.data.message == 'ok') {
|
|
@@ -1349,12 +1287,12 @@ export default {
|
|
|
"content": [
|
|
"content": [
|
|
|
{ "color": "#173177","value": value1 },
|
|
{ "color": "#173177","value": value1 },
|
|
|
{ "color": "#173177", "value": value2 },
|
|
{ "color": "#173177", "value": value2 },
|
|
|
- { "color": "#173177", "value": value3 },
|
|
|
|
|
|
|
+ { "color": "#173177", "value": value3 },
|
|
|
{ "color": "#173177","value": value4 }
|
|
{ "color": "#173177","value": value4 }
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
wxpush(send_weixin_data2).then(response => {
|
|
wxpush(send_weixin_data2).then(response => {
|
|
|
console.log('微信推送(获取参数)======>', response )
|
|
console.log('微信推送(获取参数)======>', response )
|
|
|
})
|
|
})
|
|
@@ -1406,7 +1344,7 @@ export default {
|
|
|
height: 178px;
|
|
height: 178px;
|
|
|
display: block;
|
|
display: block;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// #uploadPic .el-upload-list--picture-card .el-upload-list__item {
|
|
// #uploadPic .el-upload-list--picture-card .el-upload-list__item {
|
|
|
// width: 70px;
|
|
// width: 70px;
|
|
|
// height: 70px;
|
|
// height: 70px;
|