|
@@ -1,13 +1,14 @@
|
|
<template>
|
|
<template>
|
|
<view>
|
|
<view>
|
|
- <view class='fixedbox' :style='{"top":customBar+"px"}'>
|
|
|
|
|
|
+ <view class='fixedbox'>
|
|
<view class='search'>
|
|
<view class='search'>
|
|
<u-search placeholder='可按合同编号或买方、卖方名称查找' search-icon-color='#AFB3BF' bg-color='#F5F6F9' :shape='"round"'
|
|
<u-search placeholder='可按合同编号或买方、卖方名称查找' search-icon-color='#AFB3BF' bg-color='#F5F6F9' :shape='"round"'
|
|
:clearabled="true" :show-action='false'></u-search>
|
|
:clearabled="true" :show-action='false'></u-search>
|
|
</view>
|
|
</view>
|
|
<view style='background:#fff;'>
|
|
<view style='background:#fff;'>
|
|
<view class='contracttypewrap'>
|
|
<view class='contracttypewrap'>
|
|
- <view :class='agreementType=="销售合同"?"active":""' @click='contractclick("销售合同")' class='item left'>销售</view>
|
|
|
|
|
|
+ <view :class='agreementType=="销售合同"?"active":""' @click='contractclick("销售合同")' class='item left'>销售
|
|
|
|
+ </view>
|
|
<view :class='agreementType=="采购合同"?"active":""' @click='contractclick("采购合同")' class='item'>采购
|
|
<view :class='agreementType=="采购合同"?"active":""' @click='contractclick("采购合同")' class='item'>采购
|
|
</view>
|
|
</view>
|
|
<view :class='agreementType=="收购合同"?"active":""' @click='contractclick("收购合同")' class='item'>收购
|
|
<view :class='agreementType=="收购合同"?"active":""' @click='contractclick("收购合同")' class='item'>收购
|
|
@@ -15,7 +16,7 @@
|
|
<view :class='agreementType=="代收合同"?"active":""' @click='contractclick("代收合同")' class='item'>代收
|
|
<view :class='agreementType=="代收合同"?"active":""' @click='contractclick("代收合同")' class='item'>代收
|
|
</view>
|
|
</view>
|
|
<view :class='agreementType=="代储合同"?"active":""' @click='contractclick("代储合同")' class='item right'>
|
|
<view :class='agreementType=="代储合同"?"active":""' @click='contractclick("代储合同")' class='item right'>
|
|
- 代储</view>
|
|
|
|
|
|
+ 代储</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -128,7 +129,7 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
contractclick(status) {
|
|
contractclick(status) {
|
|
- this.contractList=[]
|
|
|
|
|
|
+ this.contractList = []
|
|
this.currentPage = 1
|
|
this.currentPage = 1
|
|
this.agreementType = status
|
|
this.agreementType = status
|
|
this.getList()
|
|
this.getList()
|