Merge branch 'master' of http://121.40.234.130:8899/root/wuHanXinRui
This commit is contained in:
@@ -244,6 +244,7 @@ export default {
|
|||||||
{ 'code': '02', 'name': '组桶' },
|
{ 'code': '02', 'name': '组桶' },
|
||||||
{ 'code': '03', 'name': '清洗' }
|
{ 'code': '03', 'name': '清洗' }
|
||||||
],
|
],
|
||||||
|
open: true,
|
||||||
permission: {
|
permission: {
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
@@ -252,7 +253,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||||
[CRUD.HOOK.beforeRefresh]() {
|
[CRUD.HOOK.beforeRefresh]() {
|
||||||
|
if (this.open) {
|
||||||
|
this.open = false
|
||||||
|
return false
|
||||||
|
} else {
|
||||||
return true
|
return true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
hand(value) {
|
hand(value) {
|
||||||
this.crud.toQuery()
|
this.crud.toQuery()
|
||||||
|
|||||||
@@ -232,6 +232,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
StatusList: [],
|
StatusList: [],
|
||||||
TypeList: [],
|
TypeList: [],
|
||||||
|
open: true,
|
||||||
QualityList: [],
|
QualityList: [],
|
||||||
IvtList: [],
|
IvtList: [],
|
||||||
permission: {
|
permission: {
|
||||||
@@ -257,7 +258,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||||
[CRUD.HOOK.beforeRefresh]() {
|
[CRUD.HOOK.beforeRefresh]() {
|
||||||
|
if (this.open) {
|
||||||
|
this.open = false
|
||||||
|
return false
|
||||||
|
} else {
|
||||||
return true
|
return true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
hand(value) {
|
hand(value) {
|
||||||
this.crud.toQuery()
|
this.crud.toQuery()
|
||||||
|
|||||||
@@ -202,6 +202,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
classes: [],
|
classes: [],
|
||||||
|
open: true,
|
||||||
class_idStr: null,
|
class_idStr: null,
|
||||||
fullscreenLoading: false,
|
fullscreenLoading: false,
|
||||||
measure_unit: [],
|
measure_unit: [],
|
||||||
@@ -247,7 +248,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||||
[CRUD.HOOK.beforeRefresh]() {
|
[CRUD.HOOK.beforeRefresh]() {
|
||||||
|
if (this.open) {
|
||||||
|
this.open = false
|
||||||
|
return false
|
||||||
|
} else {
|
||||||
return true
|
return true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
initTree() {
|
initTree() {
|
||||||
const param = {
|
const param = {
|
||||||
@@ -256,7 +262,6 @@ export default {
|
|||||||
crudMaterialbase.getMaterOptType(param).then(res => {
|
crudMaterialbase.getMaterOptType(param).then(res => {
|
||||||
this.class_idStr = res.class_idStr
|
this.class_idStr = res.class_idStr
|
||||||
this.crud.query.class_idStr = res.class_idStr
|
this.crud.query.class_idStr = res.class_idStr
|
||||||
this.crud.toQuery()
|
|
||||||
this.queryClassId()
|
this.queryClassId()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ export default {
|
|||||||
viewDialogVisible: false,
|
viewDialogVisible: false,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
material_id: '',
|
material_id: '',
|
||||||
|
open: true,
|
||||||
currentComponent: '',
|
currentComponent: '',
|
||||||
openParam: {},
|
openParam: {},
|
||||||
dialogTitle: null,
|
dialogTitle: null,
|
||||||
@@ -181,7 +182,6 @@ export default {
|
|||||||
crudMaterialbase.getMaterOptType(param).then(res => {
|
crudMaterialbase.getMaterOptType(param).then(res => {
|
||||||
this.class_idStr = res.class_idStr
|
this.class_idStr = res.class_idStr
|
||||||
this.crud.query.class_idStr = this.class_idStr
|
this.crud.query.class_idStr = this.class_idStr
|
||||||
this.crud.toQuery()
|
|
||||||
this.queryClassId()
|
this.queryClassId()
|
||||||
})
|
})
|
||||||
crudMaterialparameters.getSeries().then(res => {
|
crudMaterialparameters.getSeries().then(res => {
|
||||||
@@ -191,7 +191,12 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||||
[CRUD.HOOK.beforeRefresh]() {
|
[CRUD.HOOK.beforeRefresh]() {
|
||||||
|
if (this.open) {
|
||||||
|
this.open = false
|
||||||
|
return false
|
||||||
|
} else {
|
||||||
return true
|
return true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
stockIsNeedMove(row, clou) {
|
stockIsNeedMove(row, clou) {
|
||||||
if (row.stock_is_need_move === '0') return '否'
|
if (row.stock_is_need_move === '0') return '否'
|
||||||
|
|||||||
Reference in New Issue
Block a user