Commit a4703383 by lichengming

修改了收样管理

parent 0ec54a07
...@@ -100,11 +100,6 @@ export default { ...@@ -100,11 +100,6 @@ export default {
name: '查看' name: '查看'
}, },
{ {
type: 'ios-cloud-download',
id: '',
name: '导出入库资料'
},
{
type: 'ios-camera', type: 'ios-camera',
id: '', id: '',
name: '照片' name: '照片'
......
...@@ -76,6 +76,11 @@ export default { ...@@ -76,6 +76,11 @@ export default {
name: '查看' name: '查看'
}, },
{ {
type: 'ios-cloud-download',
id: '',
name: '导出入库资料'
},
{
type: 'ios-cloud', type: 'ios-cloud',
id: '', id: '',
name: '附件' name: '附件'
...@@ -146,6 +151,9 @@ export default { ...@@ -146,6 +151,9 @@ export default {
case '删除': case '删除':
this._deleteByIds([data.id]) this._deleteByIds([data.id])
break break
case '导出入库资料':
this._exportInfo(this.id)
break
case '操作日志': case '操作日志':
this._record(data.id) this._record(data.id)
break break
...@@ -158,6 +166,9 @@ export default { ...@@ -158,6 +166,9 @@ export default {
} }
}) })
}, },
_exportInfo(id) {
console.log(id)
},
_viewModal(edit, id) { _viewModal(edit, id) {
this.currentComponent = 'ViewDetail' this.currentComponent = 'ViewDetail'
if (edit) { if (edit) {
......
...@@ -96,7 +96,8 @@ export default { ...@@ -96,7 +96,8 @@ export default {
ruleValidate: { ruleValidate: {
warehouse: [ warehouse: [
{ required: true, message: '库房号不能为空', trigger: 'blur' } { required: true, message: '库房号不能为空', trigger: 'blur' }
] ],
name: [{ required: true, message: '架位号不能为空', trigger: 'blur' }]
}, },
showEditModal: false, showEditModal: false,
classifyList: [ classifyList: [
......
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