拼盘
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
<div class="search-item flexend">
|
||||
<button class="button button--primary" @click="_bcpShutGetdtl">查询</button>
|
||||
<button class="button button--primary" :disabled="disabled1" :class="{'button--defalut': pkId === ''}" @click="_bcpShutConfirm">拼盘完成</button>
|
||||
<button class="button button--primary" :disabled="disabled1" :class="{'button--defalut': pkId === '' || pkObj.work_status !== '30'}" @click="_bcpShutConfirm">拼盘完成</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -158,7 +158,7 @@ export default {
|
||||
},
|
||||
async _bcpShutConfirm () {
|
||||
this.disabled1 = true
|
||||
if (!this.pkId) {
|
||||
if (!this.pkId || this.pkObj.work_status !== '30') {
|
||||
this.disabled1 = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user