Commit 57d04f84 by hewei

静态交易页面优化

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