Commit bac30961 by hewei

静态交易gtx页面功能测试

parent 28e6e179
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="extkey" prop="extkey"> <el-form-item label="编号" prop="extkey">
<c-input <c-input
v-model="model.extkey" v-model="model.extkey"
placeholder="请输入extkey" placeholder="请输入编号"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -41,9 +41,15 @@ ...@@ -41,9 +41,15 @@
<el-form-item label="保函文本" prop="gidtxt"> <el-form-item label="保函文本" prop="gidtxt">
<c-input <c-input
v-model="model.gidtxt" v-model="model.gidtxt"
placeholder="请输入保函文本" placeholder="请输入保函文本">
>
</c-input> </c-input>
<!-- <c-mul-row-input-->
<!-- v-model="model.gidtxt"-->
<!-- :rows="4"-->
<!-- :cols="35"-->
<!-- placeholder="请输入保函文本"-->
<!-- >-->
<!-- </c-mul-row-input>-->
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -74,10 +80,10 @@ ...@@ -74,10 +80,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="objinr" prop="objinr"> <el-form-item label="对象编号" prop="objinr">
<c-input <c-input
v-model="model.objinr" v-model="model.objinr"
placeholder="请输入objinr" placeholder="请输入对象编号"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -113,11 +119,11 @@ ...@@ -113,11 +119,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函文本中的交易日期" prop="laborcdat"> <el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input <c-date-picker
v-model="model.laborcdat" v-model="model.laborcdat"
placeholder="请输入日期" placeholder="请输入日期"
> >
</c-input> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -148,10 +154,10 @@ ...@@ -148,10 +154,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="etgextkey" prop="etgextkey"> <el-form-item label="实体组" prop="etgextkey">
<c-input <c-input
v-model="model.etgextkey" v-model="model.etgextkey"
placeholder="请输入etgextkey" placeholder="请输入实体组"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
......
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,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("保存失败!");
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="extkey" prop="extkey"> <el-form-item label="编号" prop="extkey">
<c-input <c-input
v-model="model.extkey" v-model="model.extkey"
placeholder="请输入extkey" placeholder="请输入名称"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -208,23 +208,23 @@ ...@@ -208,23 +208,23 @@
@click="gtxDelete(scope.$index, scope.row)" @click="gtxDelete(scope.$index, scope.row)"
>删除</c-button >删除</c-button
> >
<el-popover placement="top-start" width="50" trigger="click"> <!-- <el-popover placement="top-start" width="50" trigger="click">-->
<ul class="table-button-item-list"> <!-- <ul class="table-button-item-list">-->
<li> <!-- <li>-->
<c-button size="small" style="margin-left: 0">指派</c-button> <!-- <c-button size="small" style="margin-left: 0">指派</c-button>-->
</li> <!-- </li>-->
<li> <!-- <li>-->
<c-button size="small" style="margin-left: 0">删除</c-button> <!-- <c-button size="small" style="margin-left: 0">删除</c-button>-->
</li> <!-- </li>-->
</ul> <!-- </ul>-->
<a <!-- <a-->
slot="reference" <!-- slot="reference"-->
href="javascript:void(0)" <!-- href="javascript:void(0)"-->
style="margin-left: 5px" <!-- style="margin-left: 5px"-->
> <!-- >-->
<i class="el-icon-more"></i> <!-- <i class="el-icon-more"></i>-->
</a> <!-- </a>-->
</el-popover> <!-- </el-popover>-->
</template> </template>
</c-table-column> </c-table-column>
</c-paging-table> </c-paging-table>
...@@ -261,7 +261,7 @@ export default { ...@@ -261,7 +261,7 @@ export default {
// { label: 'labaddinf', prop: 'labaddinf', width: 'auto' }, // { label: 'labaddinf', prop: 'labaddinf', width: 'auto' },
// { label: 'legfrm', prop: 'legfrm', width: 'auto' }, // { label: 'legfrm', prop: 'legfrm', width: 'auto' },
// { label: 'covgodsrvdft', prop: 'covgodsrvdft', width: 'auto' }, // { label: 'covgodsrvdft', prop: 'covgodsrvdft', width: 'auto' },
{ label: 'etgextkey', prop: 'etgextkey', width: 'auto' }, { label: '实体组', prop: 'etgextkey', width: 'auto' },
], ],
}; };
}, },
...@@ -278,6 +278,8 @@ export default { ...@@ -278,6 +278,8 @@ export default {
this.root.$refs.modelForm.resetFields(); this.root.$refs.modelForm.resetFields();
}, },
onInfgtxSearch() { onInfgtxSearch() {
this.model.pageNum = 1;
this.model.pageSize = 5;
queryByPage(this.model).then(res => { queryByPage(this.model).then(res => {
/** /**
* pageNumber: 0 * pageNumber: 0
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<script> <script>
import Infsea from "./Infsea"; import Infsea from "./Infsea";
export default { export default {
name: "StaticsInfgtx", name: "StaticsInfgtx",
components: { components: {
...@@ -38,6 +37,9 @@ export default { ...@@ -38,6 +37,9 @@ export default {
return { return {
tabVal: "infsea", tabVal: "infsea",
model: { model: {
// queryConditionInfo
extkey: "",
nam: "",
pageNum: 1, pageNum: 1,
pageSize: 5, pageSize: 5,
total: 0 total: 0
......
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