Browse Source

入库 搜索

master
x_ying 3 years ago
parent
commit
fb29d1f8e6
  1. 15
      src/views/archivesManage/outInStorage/inStorage/index.vue

15
src/views/archivesManage/outInStorage/inStorage/index.vue

@ -117,11 +117,11 @@ export default {
tableData: [],
selections: [],
keyWord: '',
optionVal: '盒名称',
optionVal: 'caseName',
options: [
{ value: '选项5', label: '盒名称' },
{ value: '选项6', label: '条形码' },
{ value: '选项7', label: 'TID' }
{ value: 'caseName', label: '盒名称' },
{ value: 'barcode', label: '条形码' },
{ value: 'tid', label: 'TID' }
],
child: []
}
@ -130,6 +130,13 @@ export default {
this.getData()
},
methods: {
//
[CRUD.HOOK.beforeRefresh]() {
this.crud.query.caseName = null
this.crud.query.barcode = null
this.crud.query.tid = null
this.crud.query[this.optionVal] = this.keyWord
},
getData() {
console.log(this.crud, 'crud')
},

Loading…
Cancel
Save