喷雾工序添加打印按钮
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<section>
|
||||
<nav-bar title="成品组桶标签打印"></nav-bar>
|
||||
<nav-bar v-if="$route.query.url !== '' && $route.query.url !== undefined" :inner2="true" @goIn="goIn" title="成品组桶标签打印"></nav-bar>
|
||||
<nav-bar v-else title="成品组桶标签打印"></nav-bar>
|
||||
<section class="content mgt186" ref="content">
|
||||
<div class="filter-wraper">
|
||||
<search-box
|
||||
@@ -212,6 +213,9 @@ export default {
|
||||
record_order: this.val6,
|
||||
is_offline_hand: this.option[this.active].value
|
||||
}
|
||||
if (this.$route.query.url === 'ProcessSpray') {
|
||||
newObj = Object.assign({}, newObj, this.$store.getters.materObj1)
|
||||
}
|
||||
let res = await endProductconfirmGroupBucket(newObj)
|
||||
if (res.code === '1') {
|
||||
this.toast(res.desc)
|
||||
@@ -256,6 +260,12 @@ export default {
|
||||
} catch (e) {
|
||||
this.disabled2 = false
|
||||
}
|
||||
},
|
||||
goIn () {
|
||||
if (this.$route.query.url === 'ProcessSpray') {
|
||||
this.$store.dispatch('materObj1', {})
|
||||
this.$router.push('/ProcessSpray')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user