mirror of
https://github.com/shawncai/ERP.git
synced 2024-11-10 17:29:39 +08:00
beyond 5.7.1
This commit is contained in:
parent
d9b0c4e5dc
commit
0e50ce8b78
4 changed files with 11 additions and 2 deletions
|
@ -21,6 +21,9 @@ export function addstockplan(query, query2, query3) {
|
|||
// 采购计划列表
|
||||
export function stockplanlist(query) {
|
||||
var params = new URLSearchParams()
|
||||
if (query.productName !== '' && query.productName !== null && query.productName !== undefined) {
|
||||
params.append('productName', query.productName) // 你要传给后台的参数值 key/value
|
||||
}
|
||||
if (query.title !== '' && query.title !== null && query.title !== undefined) {
|
||||
params.append('title', query.title) // 你要传给后台的参数值 key/value
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ export default{
|
|||
const hasPermission = roles.some(role => {
|
||||
return permissionRoles.includes(role)
|
||||
})
|
||||
if (!hasPermission && value[1] !== store.getters.userId) {
|
||||
if (!hasPermission || value[1] !== store.getters.userId) {
|
||||
el.parentNode && el.parentNode.removeChild(el)
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -13,6 +13,12 @@
|
|||
|
||||
<el-input v-model="getemplist.productName" :placeholder="$t('MaterialsList.productName')" size="small" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
|
||||
|
||||
<el-select v-model="getemplist.judgeStat" :value="getemplist.judgeStat" :placeholder="$t('updates.spzt')" size="mini" clearable class="filter-item">
|
||||
<el-option :label="$t('updates.wsh')" value="0"/>
|
||||
<el-option :label="$t('updates.shz')" value="1"/>
|
||||
<el-option :label="$t('updates.shtg')" value="2"/>
|
||||
<el-option :label="$t('updates.shptg')" value="3"/>
|
||||
</el-select>
|
||||
<el-button v-waves class="filter-item" size="small" type="primary" icon="el-icon-search" style="width: 86px;margin-top: 10px" @click="handleFilter">{{ $t('public.search') }}</el-button>
|
||||
|
||||
</el-card>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="ERP-container">
|
||||
<el-card :body-style="{ padding: '5px' }" class="box-card" style="margin-top: 10px" shadow="never">
|
||||
|
||||
<el-input v-model="getemplist.title" :placeholder="$t('StockPlan.title')" size="mini" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
|
||||
<el-input v-model="getemplist.productName" :placeholder="$t('saleBillList.productName')" size="mini" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
|
||||
<el-input v-model="getemplist.planNumber" :placeholder="$t('updates.cgjhbh')" size="mini" class="filter-item" clearable @keyup.enter.native="handleFilter"/>
|
||||
<el-input v-model="planPersonId" :placeholder="$t('StockPlan.planPersonId')" size="mini" class="filter-item" clearable @keyup.enter.native="handleFilter" @focus="handlechooseStock" @clear="restFilter"/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue