|
@@ -59,43 +59,43 @@ export default {
|
|
key: 'inOutType',
|
|
key: 'inOutType',
|
|
minWidth: 150
|
|
minWidth: 150
|
|
},
|
|
},
|
|
- {
|
|
|
|
- title: '操作',
|
|
|
|
- align: 'center',
|
|
|
|
- width: '150px',
|
|
|
|
- fixed: 'right',
|
|
|
|
- render: (h, params) => {
|
|
|
|
- return h('div', [
|
|
|
|
- h(
|
|
|
|
- 'Button',
|
|
|
|
- {
|
|
|
|
- props: {
|
|
|
|
- type: 'primary',
|
|
|
|
- size: 'small'
|
|
|
|
- },
|
|
|
|
- style: {
|
|
|
|
- marginRight: '.5vw'
|
|
|
|
- },
|
|
|
|
- on: {
|
|
|
|
- click: () => {
|
|
|
|
- PlcStorageOut({
|
|
|
|
- inOutStorageNo: '',
|
|
|
|
- storageDoor: sessionStorage.getItem('door'),
|
|
|
|
- plcStationCode: sessionStorage.getItem('plcCode'),
|
|
|
|
- rfidList: [params.row.RfidCode]
|
|
|
|
- }).then(res => {
|
|
|
|
- if (res.code === 0) {
|
|
|
|
- this.data.splice(params.row._index)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- '出库'
|
|
|
|
- )
|
|
|
|
- ])
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ // {
|
|
|
|
+ // title: '操作',
|
|
|
|
+ // align: 'center',
|
|
|
|
+ // width: '150px',
|
|
|
|
+ // fixed: 'right',
|
|
|
|
+ // render: (h, params) => {
|
|
|
|
+ // return h('div', [
|
|
|
|
+ // h(
|
|
|
|
+ // 'Button',
|
|
|
|
+ // {
|
|
|
|
+ // props: {
|
|
|
|
+ // type: 'primary',
|
|
|
|
+ // size: 'small'
|
|
|
|
+ // },
|
|
|
|
+ // style: {
|
|
|
|
+ // marginRight: '.5vw'
|
|
|
|
+ // },
|
|
|
|
+ // on: {
|
|
|
|
+ // click: () => {
|
|
|
|
+ // PlcStorageOut({
|
|
|
|
+ // inOutStorageNo: '',
|
|
|
|
+ // storageDoor: sessionStorage.getItem('door'),
|
|
|
|
+ // plcStationCode: sessionStorage.getItem('plcCode'),
|
|
|
|
+ // rfidList: [params.row.RfidCode]
|
|
|
|
+ // }).then(res => {
|
|
|
|
+ // if (res.code === 0) {
|
|
|
|
+ // this.data.splice(params.row._index)
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
|
|
+ // '出库'
|
|
|
|
+ // )
|
|
|
|
+ // ])
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|