拣选余料回库
This commit is contained in:
@@ -67,8 +67,8 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !code}" :disabled="disabled" @tap="_confirm('2')">强制确认</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !code}" :disabled="disabled" @tap="_confirm('1')">出库确认</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !val1 || !this.currentData.group_id}" :disabled="disabled" @tap="_confirm('2')">强制确认</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !val1 || !this.currentData.group_id}" :disabled="disabled" @tap="_confirm('1')">出库确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -119,7 +119,7 @@
|
||||
},
|
||||
async _confirm (type) {
|
||||
this.disabled = true
|
||||
if (!this.code) {
|
||||
if (!this.val1 || !this.currentData.group_id) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user