Commit 97dc7abd authored by 沈良进's avatar 沈良进

save

parent 943f4778
<style scoped>
.el-pagination {
border-top: none;
}
.page_MyCustomer ._mc_addbox {
height: 52px;
width: 100%;
......@@ -572,11 +575,6 @@
.Bill_par {
position: relative;
}
tr th,
tr td {
text-align: left;
padding-left: 10px;
}
tr._item_list {
border-bottom: 1px solid #e5e5e5;
height: 78px;
......@@ -884,9 +882,23 @@ input[type="number"] {
placeholder=''></el-date-picker>
</span>
</li>
<li>
<span style="display: block;padding: 10px">
<em>状态:</em>
<el-select type="daterange" v-model="msg.IsSelectAduiting"
placeholder=''>
<el-option :key="0" label="查看全部" :value="0">
</el-option>
<el-option :key="1" label="已提交审核" :value="1">
</el-option>
<el-option :key="2" label="未提交审核" :value="2">
</el-option>
</el-select>
</span>
</li>
</ul>
</div>
<div style="margin: 10px">汇总金额:{{totalData.Money}}</div>
<div style="margin-bottom: 20px;font-size: 12px;margin-left: 12px;color:#666">汇总金额:<span style="color: #333;font-size: 16px;margin-left:8px;">{{totalData.Money}}</span></div>
<div v-if="type == 1" style="margin: 10px">
<el-checkbox v-model="allCheck" @change="changeSelect">全选</el-checkbox>
<el-button style="margin-left: 10px" type="primary" size="small" @click="eidtItems">批量操作</el-button>
......@@ -1124,6 +1136,9 @@ input[type="number"] {
</el-tooltip>
</td> -->
</tr>
<tr v-if="czList.length==0">
<td colspan="13">暂无数据</td>
</tr>
</table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
......@@ -1210,6 +1225,7 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
CustomerId: '',
StartTime: '',
EndTime:'',
IsSelectAduiting: 0,
},
dataList: [],
checkedCities: [],
......
......@@ -850,7 +850,7 @@ input[type="number"] {
</div>
<div class="check-info">
<div style="margin-bottom: 10px">申请附件:</div>
<img style="width: 200px" :src="detailInfo.Voucher" />
<img @click="showImg(detailInfo.Voucher)" style="width: 200px" :src="detailInfo.Voucher" />
</div>
</div>
<button class="normalBtn" type="primary" @click="showCheck = true">
......@@ -1058,6 +1058,9 @@ input[type="number"] {
</button>
</div>
</el-dialog>
<viewer :images="images" :options='imageOptions' @inited="inited" class="viewer" ref="viewer">
<img v-for="src in images" :src="src" :key="src">
</viewer>
</div>
</template>
<script>
......@@ -1074,6 +1077,11 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
},
data() {
return {
imageOptions: {
navbar: false,
title: false
},
images: [],
name: '',
colorSon: "#f5f5f5",
widthSon: "700px",
......@@ -1136,6 +1144,24 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
}
},
methods: {
inited(viewer) {
this.$viewer = viewer
},
showImg(obj) {
let isExsit = false
this.images.forEach(x => {
if (x == obj)
isExsit = true
})
if (!isExsit) {
this.images.push(obj)
} else {
this.$viewer.view(this.images.indexOf(obj))
}
this.$viewer.show()
// this.picObj= obj;
// this.picIsShow= true;
},
Financial_post_GetFinancLogList(id) {
// 获取单据日志
if (this.checkboxShow) return;
......@@ -1165,6 +1191,7 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
if (res.data.resultCode == 1) {
this.detailLoading = false
this.detailInfo = res.data.data
this.images = [this.detailInfo.Voucher]
} else {
this.detailLoading = false
this.$message.error(res.data.message || "发生异常,请重试");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment