|
@@ -25,7 +25,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button type="primary" @click="onSearch">查询</el-button>
|
|
<el-button type="primary" @click="onSearch">查询</el-button>
|
|
|
- <el-button type="danger" @click="onSearch(true)"> 重置</el-button>
|
|
|
|
|
|
|
+ <el-button type="danger" @click="onSearch(false)"> 重置</el-button>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</template>
|
|
</template>
|
|
@@ -140,8 +140,7 @@ const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
|
|
|
|
|
// 表单验证规则
|
|
// 表单验证规则
|
|
|
const formRules: FormRules = {
|
|
const formRules: FormRules = {
|
|
|
- goodsid: [{ required: true }],
|
|
|
|
|
- date: [{
|
|
|
|
|
|
|
+ cycletime: [{
|
|
|
required: true,
|
|
required: true,
|
|
|
validator: (rule, value, callback) => {
|
|
validator: (rule, value, callback) => {
|
|
|
if (dateValue.value.length === 2) {
|
|
if (dateValue.value.length === 2) {
|
|
@@ -163,7 +162,7 @@ const openComponentOnClick = (code: string) => {
|
|
|
|
|
|
|
|
// 处理请求参数
|
|
// 处理请求参数
|
|
|
const processRequiredParams = (callback: (params: Model.ShareAmountQueryReq) => void, clear = false) => {
|
|
const processRequiredParams = (callback: (params: Model.ShareAmountQueryReq) => void, clear = false) => {
|
|
|
- if (clear) {
|
|
|
|
|
|
|
+ if (!clear) {
|
|
|
queryParams.cycletime = ''
|
|
queryParams.cycletime = ''
|
|
|
queryParams.cycletype = 0
|
|
queryParams.cycletype = 0
|
|
|
queryParams.isson = 0
|
|
queryParams.isson = 0
|