1.资金流水增加型号
This commit is contained in:
parent
dd6be18b7b
commit
8bc6a04bbe
|
@ -463,7 +463,7 @@ export default {
|
|||
showSearch: true,
|
||||
// 表格树数据
|
||||
deptList: [],
|
||||
appUserId: null,
|
||||
// appUserId: null,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 运营商树选项
|
||||
|
@ -718,10 +718,10 @@ export default {
|
|||
// this.form.isProfitSharing = this.form.isProfitSharing === 'true';
|
||||
this.form.isUsePlatformApp = this.form.isUsePlatformApp === 'true';
|
||||
console.log("userName==========="+response.data.userName)
|
||||
this.appUserId = this.form.appUserId;
|
||||
if(response.data.userName){
|
||||
this.form.appUserId = response.data.userName;
|
||||
}
|
||||
// this.appUserId = this.form.appUserId;
|
||||
// if(response.data.userName){
|
||||
// this.form.appUserId = response.data.userName;
|
||||
// }
|
||||
listArea({ pageNum: 1, pageSize: 999}).then(response => {
|
||||
this.areaOptions = response.rows;
|
||||
});
|
||||
|
|
|
@ -68,6 +68,16 @@
|
|||
end-placeholder="结束日期"
|
||||
></el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="型号" prop="modelId" >
|
||||
<el-select v-model="queryParams.modelId" filterable placeholder="请选择型号" clearable>
|
||||
<el-option
|
||||
v-for="item in modelOptions"
|
||||
:key="item.modelId"
|
||||
:label="item.model"
|
||||
:value="item.modelId"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
|
@ -205,6 +215,7 @@
|
|||
<script>
|
||||
import { listFlow, getFlow, delFlow, addFlow, updateFlow } from "@/api/system/flow";
|
||||
import { optionselect as getAreaOptionselect } from '@/api/system/area'
|
||||
import { listModel } from '@/api/system/model'
|
||||
|
||||
export default {
|
||||
name: "Flow",
|
||||
|
@ -222,6 +233,7 @@ export default {
|
|||
// 显示搜索条件
|
||||
showSearch: true,
|
||||
areaOptions: [],
|
||||
modelOptions: [],
|
||||
// 选中数组
|
||||
userName: undefined,
|
||||
// 日期范围
|
||||
|
@ -239,6 +251,7 @@ export default {
|
|||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
areaId: null,
|
||||
modelId: null,
|
||||
orderNo: null,
|
||||
outTradeNo: null,
|
||||
type: null,
|
||||
|
@ -262,8 +275,14 @@ export default {
|
|||
this.userName = this.$store.state.user.name;
|
||||
this.getList();
|
||||
this.getAreaList();
|
||||
this.getModelList();
|
||||
},
|
||||
methods: {
|
||||
getModelList() { // getAreaOptionselect()
|
||||
listModel(this.queryParams).then(response => {
|
||||
this.modelOptions = response.rows;
|
||||
});
|
||||
},
|
||||
/** 查询字典类型列表 */
|
||||
getAreaList() {
|
||||
getAreaOptionselect().then(response => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user