Commit 11c572a7 authored by chenfenglei's avatar chenfenglei

商品列表跳转期数列表

parent f8c690e9
......@@ -578,10 +578,7 @@
message:'请先选择用户'
})
}else{
let goods_id=this.userObj.goods_id;
if(goods_id == undefined){
goods_id=this.userTable[0].goods_id
}
let goods_id=this.selectUserList[0].goods_id;
getPeriodsApi({goods_id:goods_id,limit:99999}).then(res=>{
res.list.forEach(i=>{
i.children = []
......
<template>
<div class="menu">
<el-form ref="searchFrom" :model="searchFrom" label-width="120px" inline>
<el-form-item label="来源码类别">
<el-form-item label="名字">
<el-input v-model="searchFrom.title"></el-input>
</el-form-item>
<el-form-item label="来源码类别">
<el-select v-model="searchFrom.type_id" placeholder="请选择" @change="getList" clearable>
<el-option
v-for="(data,index) in codeType"
......@@ -265,6 +268,7 @@
userList: [],
searchUserFrom: {
type_id:"",
title:"",
},
multipleSelection: [],
noCashUserDialog: {
......@@ -317,6 +321,9 @@
}
if(this.searchFrom.type_id){
json.type_id=this.searchFrom.type_id;
}
if(this.searchFrom.title){
json.title=this.searchFrom.title;
}
getSourceListApi(json).then(res=>{
if (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