Commit b31f2ccf by nanrui

DBB功能测试缺陷修改。

parent 8e954f93
......@@ -4898,7 +4898,10 @@ const CodeTable = {
bopacttyp:[
{ label: "境外", value: "(JW)" },
{ label: "境内非居民", value: "(JN)" },
],
bopacttyp1:[
{ label: "境外", value: "JW" },
{ label: "境内非居民", value: "JN" },
],
payattr: [
{ label: "保税区", value: "X" },
......
......@@ -28,7 +28,7 @@
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请输入款项去向"
:code="codes.bopacttyp"
:code="codes.bopacttyp1"
>
</c-select>
</el-form-item>
......
......@@ -3,13 +3,15 @@
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<el-form-item label="申报号码" prop="recgrp.bas.rptno" style="width: 100%">
<c-fullbox>
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" @click=""
:disabled="model.recgrp.bas.rptno !== ''">获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -14,7 +14,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<el-form-item label="请选择需要删除的接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox v-model="model.bopbut.basflg" >基础数据</c-checkbox>
</el-form-item>
</c-col>
......@@ -29,7 +29,7 @@
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.bopacttyp"
:code="codes.bopacttyp1"
>
</c-select>
</el-form-item>
......
<template>
<div class="eContainer">
<c-page title="境外汇款申请书(删除)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
......@@ -40,11 +28,8 @@
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'bopbut.sav')"
:handleCheck="handleCheck.bind(this, 'bopbut.chk')">
</c-function-btn>
</c-page>
</div>
......@@ -66,11 +51,11 @@ import Vrfp from "./Vrfp"
export default {
name: "Dbbdel",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
components: {
"m-selection": Selection,
"m-basp": Basp,
"m-dclp": Dclp,
"m-vrfp": Vrfp,
},
provide() {
return {
......@@ -78,7 +63,7 @@ export default {
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "selection",
trnName: "dbbdel",
......@@ -88,21 +73,21 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable}
codes: { ...CodeTable }
};
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入dbbdel交易");
let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS){
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
......
......@@ -3,13 +3,15 @@
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<el-form-item label="申报号码" prop="recgrp.bas.rptno" style="width: 100%">
<c-fullbox>
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" @click=""
:disabled="model.recgrp.bas.rptno !== ''">获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -32,7 +32,7 @@
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.bopacttyp"
:code="codes.bopacttyp1"
>
</c-select>
</el-form-item>
......
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