Commit 06d0aa52 authored by 沈翠玲's avatar 沈翠玲

修改bug

parent f4fce137
...@@ -237,13 +237,13 @@ ...@@ -237,13 +237,13 @@
<!-- {{ scope.row }} --> <!-- {{ scope.row }} -->
<u-button v-if="scope.row.feedbackQuantity && Number(scope.row.feedbackQuantity) > 0" <u-button v-if="scope.row.feedbackQuantity && Number(scope.row.feedbackQuantity) > 0"
@tap="rePackageInfoPrint(feedback, scope.row, i)" type="success" @tap="rePackageInfoPrint(feedback, scope.row, i)" class="successBtn"
style="margin-left: 20rpx" size="mini"> style="margin-left: 20rpx">
补打印 补打印
</u-button> </u-button>
<u-button v-else-if="Number(scope.row.packageNum) > Number(scope.row.feedbackQuantity)" <u-button v-else-if="Number(scope.row.packageNum) > Number(scope.row.feedbackQuantity)"
@tap="handleSubmitPackageFeedback(feedback, scope.row, i)" type="success" @tap="handleSubmitPackageFeedback(feedback, scope.row, i)" class="successBtn"
style="margin-left: 20rpx" size="mini"> style="margin-left: 20rpx">
打印/报工 打印/报工
</u-button> </u-button>
<!-- <u-input v-model="scope.row.reportQuantity" type="number"></u-input> --> <!-- <u-input v-model="scope.row.reportQuantity" type="number"></u-input> -->
...@@ -265,12 +265,12 @@ ...@@ -265,12 +265,12 @@
<template slot="peration" slot-scope="scope"> <template slot="peration" slot-scope="scope">
<!-- {{ scope.row }} --> <!-- {{ scope.row }} -->
<u-button v-if="scope.row.feedbackQuantity && Number(scope.row.feedbackQuantity) > 0" <u-button v-if="scope.row.feedbackQuantity && Number(scope.row.feedbackQuantity) > 0"
@tap="rePackageInfoPrint(feedback, scope.row, i)" type="success" @tap="rePackageInfoPrint(feedback, scope.row, i)"
style="margin-left: 20rpx" size="mini"> style="margin-left: 20rpx" class="successBtn">
补打印 补打印
</u-button> </u-button>
<u-button v-else @tap="handleSubmitPackageFeedback(feedback, scope.row, i)" type="success" <u-button v-else @tap="handleSubmitPackageFeedback(feedback, scope.row, i)"
style="margin-left: 20rpx" size="mini">打印/报工</u-button> style="margin-left: 20rpx" class="successBtn">打印/报工</u-button>
<!-- <u-input v-model="scope.row.reportQuantity" type="number"></u-input> --> <!-- <u-input v-model="scope.row.reportQuantity" type="number"></u-input> -->
</template> </template>
</zb-table> </zb-table>
...@@ -290,12 +290,12 @@ ...@@ -290,12 +290,12 @@
<template slot="peration" slot-scope="scope"> <template slot="peration" slot-scope="scope">
<!-- {{ scope.row }} --> <!-- {{ scope.row }} -->
<u-button v-if="scope.row.feedbackQuantity && Number(scope.row.feedbackQuantity) > 0" <u-button v-if="scope.row.feedbackQuantity && Number(scope.row.feedbackQuantity) > 0"
@tap="rePackageInfoPrint(feedback, scope.row, i)" type="success" @tap="rePackageInfoPrint(feedback, scope.row, i)"
style="margin-left: 20rpx" size="mini"> style="margin-left: 20rpx" class="successBtn">
补打印 补打印
</u-button> </u-button>
<u-button v-else @tap="handleSubmitPackageFeedback(feedback, scope.row, i)" type="success" <u-button v-else @tap="handleSubmitPackageFeedback(feedback, scope.row, i)"
style="margin-left: 20rpx" size="mini">打印/报工</u-button> style="margin-left: 20rpx" class="successBtn">打印/报工</u-button>
</template> </template>
</zb-table> </zb-table>
</view> </view>
...@@ -3211,7 +3211,23 @@ export default { ...@@ -3211,7 +3211,23 @@ export default {
color: black; color: black;
} }
} }
.successBtn {
display: inline-flex;
width: auto;
font-size: 22rpx;
padding-top: 1px;
height: 50rpx;
line-height: 50rpx;
padding: 0 20rpx;
color: #ffffff;
border-color: #19be6b;
background-color: #19be6b;
&:hover {
border-color: #19be6b !important;
background-color: #19be6b !important;
color: #ffffff !important;
}
}
</style> </style>
<style lang="scss"> <style lang="scss">
.mynotable { .mynotable {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment