|
@@ -99,6 +99,7 @@ import TicketForm from './modules/TicketForm'
|
|
|
|
|
|
import { updateStoreBack, getOutStoreFormPage, deleteOutStoreForms, fetchOutStoreForm, exportOutStoreForm } from '@/api/store/outstoreform'
|
|
|
import { startOutStoreForm } from '@/api/activiti/activiti-outstoreform'
|
|
|
+import { startSbInfoScrap } from '@/api/activiti/activiti-sb-scrap'
|
|
|
|
|
|
export default {
|
|
|
name: 'OutStoreFormList',
|
|
@@ -275,10 +276,19 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
updateStore (id) {
|
|
|
- startOutStoreForm({ id: id }).then(res => {
|
|
|
+ const params = {}
|
|
|
+ params.id = id
|
|
|
+ params.processInstanceId = ''
|
|
|
+ params.auditModelName = '仓库审批'
|
|
|
+ params.auditModelKey = 'out_store_back'
|
|
|
+ startSbInfoScrap(params).then(res => {
|
|
|
this.$message.info('已提交,请等待主管审核')
|
|
|
this.$refs.table.refresh()
|
|
|
})
|
|
|
+ /* startOutStoreForm({ id: id }).then(res => {
|
|
|
+ this.$message.info('已提交,请等待主管审核')
|
|
|
+ this.$refs.table.refresh()
|
|
|
+ }) */
|
|
|
},
|
|
|
updateStoreBack (id) {
|
|
|
updateStoreBack({ id: id }).then(res => {
|