|
@@ -10,7 +10,7 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<p class="mb10" v-if="!isSign">
|
|
|
- <el-button type="primary" @click="dialogVisible = true">签字</el-button>
|
|
|
+ <el-button type="primary" @click="toSign">签字</el-button>
|
|
|
<el-button type="primary" @click="showDispatchInfo">查看分班信息</el-button>
|
|
|
</p>
|
|
|
<div v-if="isSign">
|
|
@@ -115,6 +115,13 @@ import { mapGetters } from 'vuex'
|
|
|
this.getRound()
|
|
|
this.getInfo()
|
|
|
},
|
|
|
+ toSign() {
|
|
|
+ if(!this.rows[0].flowId) {
|
|
|
+ this.$message.error(this.rows[0].statusText)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.dialogVisible = true
|
|
|
+ },
|
|
|
// 获取批次的组合
|
|
|
getRound() {
|
|
|
getRound({
|