组桶打印
This commit is contained in:
@@ -76,8 +76,8 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<!-- <button class="zd-col-5 button-default" @tap="toEmpty">清空</button> -->
|
||||
<button class="zd-col-10 button-primary" :class="{'button-info': !pkId || !val2 || !val1 || !num || !weight}" :disabled="disabled" @tap="_manualInbound">入站</button>
|
||||
<button class="zd-col-10 button-primary" :class="{'button-info': !pkId || !val2 || !val1 || !num || !weight}" :disabled="disabled" @tap="_manualOutbound">出站</button>
|
||||
<button class="zd-col-10 button-primary" :class="{'button-info': !pkId || !val2 || !val1 || !weight}" :disabled="disabled" @tap="_manualInbound">入站</button>
|
||||
<button class="zd-col-10 button-primary" :class="{'button-info': !pkId || !val2 || !val1 || !weight}" :disabled="disabled" @tap="_manualOutbound">出站</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -145,7 +145,7 @@
|
||||
},
|
||||
async _manualInbound () {
|
||||
this.disabled = true
|
||||
if (!this.pkId || !this.val2 || !this.val1 || !this.num || !this.weight) {
|
||||
if (!this.pkId || !this.val2 || !this.val1 || !this.weight) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
@@ -165,7 +165,7 @@
|
||||
},
|
||||
async _manualOutbound () {
|
||||
this.disabled = true
|
||||
if (!this.pkId || !this.val2 || !this.val1 || !this.num || !this.weight) {
|
||||
if (!this.pkId || !this.val2 || !this.val1 || !this.weight) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user