This commit is contained in:
2024-08-14 15:27:26 +08:00
parent 78f5408bd3
commit 17651c5c9d

View File

@@ -28,7 +28,7 @@
</view>
<view class="zd-row submitbar">
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !index1 || !index2}" :disabled="disabled" @tap="_twoPdaBoxIn">打印</button>
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !index1 || !index2}" :disabled="disabled" @tap="_printTable">打印</button>
</view>
</view>
</template>
@@ -79,7 +79,7 @@
return
}
try {
let res = await twoPdaBoxIn(this.val1, this.index1, this.index2)
let res = await printTable(this.val1, this.index1, this.index2)
uni.showToast({
title: res.message,
icon: 'none'