优化
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<el-select
|
||||
v-model="query.base_data_type"
|
||||
placeholder="请选择"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in dict.base_data"
|
||||
|
||||
@@ -251,15 +251,6 @@ export default {
|
||||
this.initTree()
|
||||
},
|
||||
methods: {
|
||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
if (this.open) {
|
||||
this.open = false
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
},
|
||||
initTree() {
|
||||
const param = {
|
||||
'materOpt_code': '00'
|
||||
|
||||
@@ -196,15 +196,6 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
if (this.open) {
|
||||
this.open = false
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
},
|
||||
stockIsNeedMove(row, clou) {
|
||||
if (row.stock_is_need_move === '0') return '否'
|
||||
if (row.stock_is_need_move === '1') return '是'
|
||||
|
||||
Reference in New Issue
Block a user