fix: 进入某些出入库记录时不用做限制以及部分优化
This commit is contained in:
parent
611255a2d0
commit
29bd6ac6a2
|
|
@ -90,7 +90,8 @@ export default {
|
|||
save: false,
|
||||
},
|
||||
query: {
|
||||
type__in: 'sale_out,do_in'
|
||||
type__in: 'sale_out,do_in',
|
||||
item_mio__material__type: 10
|
||||
},
|
||||
form: {
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@ export default {
|
|||
save: false,
|
||||
},
|
||||
query: {
|
||||
type: 'do_in'
|
||||
type__in: 'do_in,do_out',
|
||||
item_mio__material__type: 20
|
||||
},
|
||||
form: {
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
<el-header>
|
||||
<div class="left-panel">
|
||||
<el-button type="primary" @click="add('pur_in')" v-auth="'mio.pur'">采购入库</el-button>
|
||||
<el-select v-model="query.type" clearable style="width: 120px; margin-left: 2px" placeholder="出入库类型"
|
||||
@change="handleQuery">
|
||||
<el-option v-for="item in cateOptions" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
||||
</el-select>
|
||||
<el-select v-model="query.state" clearable style="width: 120px; margin-left: 2px" placeholder="状态"
|
||||
@change="handleQuery">
|
||||
<el-option v-for="item in stateOptions" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
||||
|
|
@ -74,11 +78,15 @@
|
|||
{ id: 20, name: '已提交' },
|
||||
],
|
||||
typeDict: { 'pur_in': '采购入库' },
|
||||
cateOptions: [
|
||||
{ id: 'pur_in', name: '采购入库' }
|
||||
],
|
||||
dialog: {
|
||||
save: false,
|
||||
},
|
||||
query: {
|
||||
type: 'pur_in'
|
||||
type__in: 'pur_in,do_out',
|
||||
item_mio__material__type: 40
|
||||
},
|
||||
form: {
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@
|
|||
save: false,
|
||||
},
|
||||
query: {
|
||||
type: 'do_out'
|
||||
type__in: 'pur_in,do_out',
|
||||
item_mio__material__type: 30
|
||||
},
|
||||
form: {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue