给单据增加查询条件
This commit is contained in:
@@ -29,10 +29,34 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +129,12 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "出库",
|
type: "出库",
|
||||||
subType: "调拨",
|
subType: "调拨",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -163,10 +189,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,34 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +129,12 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "其它",
|
type: "其它",
|
||||||
subType: "组装单",
|
subType: "组装单",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -163,10 +189,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,34 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +129,12 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "其它",
|
type: "其它",
|
||||||
subType: "拆卸单",
|
subType: "拆卸单",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -163,10 +189,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择供应商" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +138,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "入库",
|
type: "入库",
|
||||||
subType: "其它",
|
subType: "其它",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -164,10 +200,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.initSupplier()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="客户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择客户" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in cusList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +138,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "出库",
|
type: "出库",
|
||||||
subType: "其它",
|
subType: "其它",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -164,10 +200,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.initCustomer()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择供应商" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +138,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "出库",
|
type: "出库",
|
||||||
subType: "采购退货",
|
subType: "采购退货",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -176,10 +212,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.initSupplier()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择供应商" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -106,10 +139,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "入库",
|
type: "入库",
|
||||||
subType: "采购",
|
subType: "采购",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -183,10 +219,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.initSupplier()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择供应商" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -116,7 +149,10 @@
|
|||||||
materialParam: "",
|
materialParam: "",
|
||||||
type: "其它",
|
type: "其它",
|
||||||
subType: "采购订单",
|
subType: "采购订单",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -176,10 +212,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.initSupplier()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
this.removeStatusColumn()
|
this.removeStatusColumn()
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
myHandleEdit(record) {
|
myHandleEdit(record) {
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="会员卡号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择会员卡号" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in retailList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +138,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "入库",
|
type: "入库",
|
||||||
subType: "零售退货",
|
subType: "零售退货",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -165,10 +201,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.initRetail()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="会员卡号" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择会员卡号" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in retailList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +138,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "出库",
|
type: "出库",
|
||||||
subType: "零售",
|
subType: "零售",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -165,10 +201,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.initRetail()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="客户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择客户" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in cusList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -105,10 +138,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "入库",
|
type: "入库",
|
||||||
subType: "销售退货",
|
subType: "销售退货",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -176,10 +212,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.initCustomer()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="客户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择客户" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in cusList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -113,10 +146,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "其它",
|
type: "其它",
|
||||||
subType: "销售订单",
|
subType: "销售订单",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -176,10 +212,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.initCustomer()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
this.removeStatusColumn()
|
this.removeStatusColumn()
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
myHandleEdit(record) {
|
myHandleEdit(record) {
|
||||||
|
|||||||
@@ -29,10 +29,43 @@
|
|||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="客户" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择客户" showSearch optionFilterProp="children" v-model="queryParam.organId">
|
||||||
|
<a-select-option v-for="(item,index) in cusList" :key="index" :value="item.id">
|
||||||
|
{{ item.supplier }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="仓库名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="请选择仓库" showSearch optionFilterProp="children" v-model="queryParam.depotId">
|
||||||
|
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
|
||||||
|
{{ depot.depotName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="24">
|
||||||
|
<a-form-item label="操作员" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select placeholder="选择操作员" showSearch optionFilterProp="children" v-model="queryParam.creator">
|
||||||
|
<a-select-option v-for="(item,index) in userList" :key="index" :value="item.id">
|
||||||
|
{{ item.userName }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</template>
|
||||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-button type="primary" @click="searchQuery">查询</a-button>
|
<a-button type="primary" @click="searchQuery">查询</a-button>
|
||||||
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
<a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
|
||||||
|
<a @click="handleToggleSearch" style="margin-left: 8px">
|
||||||
|
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||||
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
|
</a>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -106,10 +139,13 @@
|
|||||||
// 查询条件
|
// 查询条件
|
||||||
queryParam: {
|
queryParam: {
|
||||||
number: "",
|
number: "",
|
||||||
searchMaterial: "",
|
materialParam: "",
|
||||||
type: "出库",
|
type: "出库",
|
||||||
subType: "销售",
|
subType: "销售",
|
||||||
roleType: Vue.ls.get('roleType')
|
roleType: Vue.ls.get('roleType'),
|
||||||
|
organId: "",
|
||||||
|
depotId: "",
|
||||||
|
creator: ""
|
||||||
},
|
},
|
||||||
labelCol: {
|
labelCol: {
|
||||||
span: 5
|
span: 5
|
||||||
@@ -183,10 +219,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.initCustomer()
|
||||||
|
this.getDepotData()
|
||||||
|
this.initUser()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
|
import {getAction } from '@/api/manage'
|
||||||
|
import {findBySelectSup, findBySelectCus, findBySelectRetail, getUserList } from '@/api/api'
|
||||||
|
|
||||||
export const BillListMixin = {
|
export const BillListMixin = {
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
supList: [],
|
||||||
|
cusList: [],
|
||||||
|
retailList: [],
|
||||||
|
userList: []
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
importExcelUrl: function(){
|
importExcelUrl: function(){
|
||||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||||
@@ -52,6 +62,46 @@ export const BillListMixin = {
|
|||||||
if(this.btnEnableList.indexOf(2)===-1) {
|
if(this.btnEnableList.indexOf(2)===-1) {
|
||||||
this.columns.splice(7,1)
|
this.columns.splice(7,1)
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
initSupplier() {
|
||||||
|
let that = this;
|
||||||
|
findBySelectSup({}).then((res)=>{
|
||||||
|
if(res) {
|
||||||
|
that.supList = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
initCustomer() {
|
||||||
|
let that = this;
|
||||||
|
findBySelectCus({}).then((res)=>{
|
||||||
|
if(res) {
|
||||||
|
that.cusList = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
initRetail() {
|
||||||
|
let that = this;
|
||||||
|
findBySelectRetail({}).then((res)=>{
|
||||||
|
if(res) {
|
||||||
|
that.retailList = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getDepotData() {
|
||||||
|
getAction('/depot/findDepotByCurrentUser').then((res)=>{
|
||||||
|
if(res.code === 200){
|
||||||
|
this.depotList = res.data;
|
||||||
|
}else{
|
||||||
|
this.$message.info(res.data);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
initUser() {
|
||||||
|
getUserList({}).then((res)=>{
|
||||||
|
if(res) {
|
||||||
|
this.userList = res;
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user