Commit 57d04f84 by hewei

静态交易页面优化

parent 9228bfab
......@@ -4,6 +4,7 @@ import Pub from "../Public"
export default class Cltdav {
constructor() {
this.data = {
ccdbatg: [],
cltdavl2blk:"",
cltdavl1blk:"",
bptbck:{
......
......@@ -192,7 +192,7 @@
</c-col>
<c-col :span="1">
<el-form-item label="天" label-width="5px" >
<el-form-item label="天" label-width="100%" >
</el-form-item>
</c-col>
</c-col>
......
......@@ -42,17 +42,23 @@
<!--备查/附言 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--报文和面函 -->
<el-tab-pane label="报文/面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="附件信息" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......
......@@ -26,9 +26,8 @@
<c-col :span="11" :offset="1">
<el-form-item label="">
<c-checkbox v-model="model.modflg">修改</c-checkbox>
<c-button size="small" type="primary" icon="el-icon-search" :disabled="model.modflg !== 'X'"
<c-button size="small" type="primary" icon="el-icon-more" :disabled="model.modflg !== 'X'"
@click="showGridPromptDialog('cltp.setins.buttxmsel', null, null,{TXT: 'cldgrp.blk.setins'}, {TXT: false},'doxpDialog')">
...
</c-button>
</el-form-item>
</c-col>
......
......@@ -159,7 +159,7 @@
</c-col>
</c-col>
<c-col :span="24" v-if="model.cur != '' && model.cldgrp.rec.colflg != ''">
<c-col :span="24" v-if="model.cur !== '' && model.cldgrp.rec.colflg !== ''">
<c-col :span="4" :offset="20" style="text-align:center">
<el-button type="primary" @click="handleSearch">查询</el-button>
</c-col>
......
......@@ -190,7 +190,7 @@
<!-- </c-col>-->
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd">
<c-edit-table :model="model" v-bind="ccdbatg">
</c-edit-table>
</c-col>
</div>
......@@ -207,7 +207,7 @@ export default {
mixins: [commonProcess],
data() {
return {
docgrd: {
ccdbatg: {
columns: [
{
title: "核对号",
......@@ -259,7 +259,7 @@ export default {
},
],
urls: "bptbck.bptbckg",
urls: "ccdbatg",
},
}
},
......
......@@ -122,7 +122,7 @@ export default {
edit(this.model)
.then((res) => {
this.$message.success("修改成功!");
this.goBack()
this.goBack(true)
})
.catch((err) => {
this.$message.error("修改失败!");
......
......@@ -94,7 +94,7 @@ export default {
edit(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack()
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
......
......@@ -28,7 +28,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInfctySearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -121,6 +121,11 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInfctySearch();
},
onInfctySearch() {
queryByPage(this.model).then(res => {
/**
......
......@@ -26,7 +26,7 @@ export default class Cur {
// maxamt: "",
// ver: "",
// etgextkey: "",
"cod": "ppp",
"cod": "",
"newcur": "",
"altcod": "",
"dec": 0,
......
......@@ -80,9 +80,9 @@ export default {
toBbacur(){
this.$router.history.push("/statics/dbacur");
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
// handleReset() {
// this.root.$refs.modelForm.resetFields();
// },
async handleReset() {
this.model.cod = ""
this.model.seanam = ""
......
......@@ -41,7 +41,7 @@
type="primary"
icon="el-icon-search"
size="small"
@click="onInftrlSearch()"
@click="onSearch()"
>查询
</el-button>
</c-col>
......@@ -156,6 +156,11 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInftrlSearch();
},
onInftrlSearch() {
queryByPage(this.model).then((res) => {
/**
......
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