Commit 93098491 authored by wangdanlei's avatar wangdanlei

Update index.vue

parent 4e59ba1e
......@@ -40,7 +40,7 @@ export default {
},
methods: {
searchEvent(val) {
const materialType = this.findByNameVnode(this, 'DeeAsForm').form.materialType
// const materialType = this.findByNameVnode(this, 'DeeAsForm').form.materialType
val.items.push({ fieldName: 'subTypeName', operator: 'EQ', value: 'JobResponseOutStorageExpire' }/*, { fieldName: 'inventory.materialType', operator: 'EQ', value: materialType }*/)
const el = this.$refs['materielTable']
el.$refs.asCom.getData(val.items, val.items)
......@@ -56,7 +56,6 @@ export default {
this.selection = val
},
submitEvent() {
console.log(this.selection.map(item => item.inventory))
this.$emit('submitEvent', { formData: this.selection.map(item => item.inventory) })
},
cancelEvent() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment