Commit 269a7247 by zhouqian

Merge branch 'development-202206' into 'development-202206'

Development 202206

See merge request zhouqian/vue-gjjs!16
parents 20adc155 eea5837a
......@@ -182,18 +182,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrtpButgetref(){
let rtnmsg = await this.executeRule("trtp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFippDet(){
let rtnmsg = await this.executeRule("fipp.det")
if(rtnmsg.respCode == SUCCESS)
......@@ -435,7 +423,7 @@ export default {
}
},
async onTrtpButgetref(){
let rtnmsg = await this.executeRule("trtp.butgetref")
let rtnmsg = await this.executeRule("trtcre.trtp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -4,6 +4,7 @@ import Pub from "../Public"
export default class Cltdav {
constructor() {
this.data = {
ccdbatg: [],
cltdavl2blk:"",
cltdavl1blk:"",
bptbck:{
......
......@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
......@@ -47,9 +47,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
......@@ -61,9 +61,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -92,20 +92,15 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
......@@ -47,9 +47,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
......@@ -61,9 +61,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -94,9 +94,9 @@ export default {
],
"gcdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -3,7 +3,7 @@ import Utils from "~/utils"
export default {
async onFinmodCal(){
let rtnmsg = await this.executeRule("finmod.cal")
let rtnmsg = await this.executeRule("trtmod.finmod.cal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -23,7 +23,8 @@
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg" label-width="200px">
<c-select
:code="codes.outflg"
:disabled="model.bcdgrp.cbs.max.cur!='CNY'" v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
disabled
v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
</el-form-item>
</c-col>
......@@ -32,7 +33,7 @@
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg" label-width="200px">
<c-select
:code="codes.libflg"
disabled v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
:disabled="model.bcdgrp.cbs.max.cur!='CNY'" v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
</el-form-item>
</c-col>
......
......@@ -264,10 +264,12 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" class="bctdav_bctp_bctovw_cheak">
<c-checkbox v-model="focflg" @change="focflgDefault"
<c-col :span="24">
<el-form-item label=" " prop="bcdgrp.rec.focflg" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.bcdgrp.rec.focflg" @change="focflgDefault"
>无偿放单选项</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.doccur">
......@@ -290,20 +292,26 @@
</el-form-item>
</c-col>
<c-col :span="12" class="bctdav_bctp_bctovw_cheak">
<c-col :span="12">
<el-form-item label=" " prop="bcdgrp.rec.focflg" label-width="120px" style=" float:left;">
<c-checkbox :disabled="model.bcdgrp.rec.focflg=='X'" v-model="crefinflg" style="float: left"
@change="crefinflgChange"
>融资</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12" class="bctdav_bctp_bctovw_cheak">
<c-col :span="12">
<el-form-item label=" " prop="dftcre.dfflag" label-width="120px" style=" float:left;">
<c-checkbox v-model="model.dftcre.dfflag" style="float: left">同业代付</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" class="bctdav_bctp_bctovw_cheak">
<c-checkbox true-label="C" v-model="clsflg" @change="clsflgOtherDefault"
<c-col :span="24">
<el-form-item label=" " prop="mtabut.clsflg" label-width="120px" style=" float:left;">
<c-checkbox true-label="C" v-model="model.mtabut.clsflg" @change="clsflgOtherDefault"
>闭卷</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -30,7 +30,7 @@
<!-- 货物 -->
<m-dxzfp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="跨境人币申报" name="cnyp">
<el-collapse-item title="跨境人币申报" name="cnyp">
<!-- 单据 -->
<m-cnyp :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -877,7 +877,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils";
import Bctsus from "./Bctsus";
import Event from "~/model/Brtset/Event";
import Event from "~/model/Bctset/Event";
import Ptap from "~/views/Public/Ptap";
export default {
......
......@@ -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",
},
}
},
......
......@@ -86,7 +86,7 @@
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
:disabled="model.recgrp.bas.custype == 'C'"
></c-input>
</el-form-item>
</c-col>
......@@ -157,30 +157,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
......@@ -301,6 +277,29 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
:disabled="!(model.recgrp.bas.methods=='L'||model.recgrp.bas.methods=='G')"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
......
......@@ -189,30 +189,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
......@@ -347,6 +323,30 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
......
......@@ -189,30 +189,6 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!----------右边------------>
......@@ -348,6 +324,30 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-date-picker
type="date"
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
......
......@@ -85,7 +85,7 @@
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
:disabled="model.recgrp.bas.custype == 'C'"
></c-input>
</el-form-item>
</c-col>
......
......@@ -123,12 +123,13 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
<c-col :span="9">
......@@ -138,11 +139,12 @@
label-width="5px"
prop="gcdgrp.cbs.max.amt"
>
<c-input-currency
<c-input
disabled
v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入"
></c-input-currency>
class="m-input-currency"
></c-input>
</c-form-item>
</c-col>
......@@ -238,12 +240,13 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
<c-col :span="12">
......@@ -256,9 +259,7 @@
<c-input-currency
v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.max.amt', model.gcdgrp.cbs.max.amt)
"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -269,12 +270,13 @@
prop="gcdgrp.cbs.opn2.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.opn2.cur"
maxlength="3"
disabled
placeholder="请输入"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
<c-col :span="12">
......
......@@ -122,12 +122,13 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
......@@ -142,9 +143,7 @@
v-model="model.gcdgrp.cbs.max.amt"
placeholder=""
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.max.amt', model.gcdgrp.cbs.max.amt)
"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -274,9 +273,7 @@
v-model="model.gidgrp.cbs.opn1.amt"
placeholder=""
disabled
@keyup.enter.native="
defaultFunction('gidgrp.cbs.opn1.amt', model.gidgrp.cbs.opn1.amt)
"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</c-form-item>
</c-col>
......
......@@ -123,12 +123,13 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
......@@ -341,12 +342,13 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
......@@ -370,12 +372,13 @@
prop="gcdgrp.cbs.opn2.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.opn2.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
:code="codes.cur"
></c-select>
</c-form-item>
</c-col>
......
......@@ -53,6 +53,7 @@
<c-col :span="12">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-select
style="width: 100%"
v-model="model.trdgrp.cbs.max.cur"
:disabled="true"
>
......@@ -421,7 +422,7 @@
></c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onFinmodCal">
<c-button v-model="model.trtmod.finmod.cal" size="small" type="primary" @click="onFinmodCal">
计算
</c-button>
</c-col>
......
......@@ -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