Просмотр исходного кода

Merge branch 'master' of git.huaml.com:zhh/front-end

shizhongqi 6 месяцев назад
Родитель
Сommit
05489f8bb2
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      ghsApp/src/admin/billing/affirm.vue

+ 7 - 7
ghsApp/src/admin/billing/affirm.vue

@@ -153,9 +153,9 @@
 
               <tui-list-cell class="line-cell" :hover="false" :arrow="false">
                 <view class="tui-title">收款方式</view>
-                <button @click="form.hasPay = 2" class="admin-button-com big" :class="form.hasPay == 2 ? 'blue' : 'default'" style="margin-right: 35upx" > 挂账 </button>
-                <button @click="form.hasPay = 0" class="admin-button-com big" :class="form.hasPay == 0 ? 'blue' : 'default'" style="margin-right: 35upx" > 扫码 </button>
-                <button @tap="form.hasPay = 1" class="admin-button-com big" :class="form.hasPay == 1 ? 'blue' : 'default'" style="margin-right: 0upx">线下</button>
+                <button @click="form.hasPay = 2" class="admin-button-com big" :class="form.hasPay == 2 ? 'blue' : 'default'" style="margin-right:20upx;width:130upx;"> 挂账 </button>
+                <button @click="form.hasPay = 0" class="admin-button-com big" :class="form.hasPay == 0 ? 'blue' : 'default'" style="margin-right:20upx;width:130upx;"> 扫码 </button>
+                <button @tap="form.hasPay = 1" class="admin-button-com big" :class="form.hasPay == 1 ? 'blue' : 'default'" style="margin-right:0upx;width:130upx;">线下</button>
               </tui-list-cell>
 
               <tui-list-cell class="line-cell" :arrow="true" v-if="form.hasPay == 1">
@@ -374,7 +374,7 @@
               <tui-list-cell class="line-cell" :hover="false" :arrow="false">
                 <view class="tui-title">打印小票</view>
                 <button @click="form.needPrint = 1" class="admin-button-com big" :class="form.needPrint == 1 ? 'blue' : 'default'" style="width:140upx;">打印</button>
-                <button @tap="form.needPrint = 2" class="admin-button-com big" :class="form.needPrint == 2 ? 'blue' : 'default'">不打印</button>
+                <button @tap="form.needPrint = 2" class="admin-button-com big" :class="form.needPrint == 2 ? 'blue' : 'default'" style="width:140upx;">不打印</button>
               </tui-list-cell>
 
               <tui-list-cell class="line-cell" :hover="false" :arrow="false">
@@ -389,7 +389,7 @@
               <tui-list-cell class="line-cell" :hover="false" :arrow="false">
                 <view v-if="form.hasPay == 2" class="tui-title">应收金额</view>
                 <view v-else class="tui-title">实收金额</view>
-                <input style="border: 1upx solid #eee; color: #3385ff; width: 170upx; height: 70upx;text-align: center;" type="digit" @focus="modifyPrice = ''" v-model="modifyPrice" placeholder-class="tui-placeholder" />
+                <input style="border: 1upx solid #eee; color: #3385ff; width: 170upx; height: 70upx;text-align: left;" type="digit" @focus="modifyPrice = ''" v-model="modifyPrice" placeholder-class="tui-placeholder" />
                 <text v-if="modifyPrice > 0 && modifyPrice > finalPrice" style="font-size: 28upx; margin-left: 20upx; color: red" >人工资材费 ¥{{ parseFloat((modifyPrice - finalPrice).toFixed(2)) }}</text>
                 <text v-if="modifyPrice > 0 && modifyPrice < finalPrice" style="font-size: 28upx; margin-left: 20upx; color: green">优惠 ¥{{ parseFloat((finalPrice - modifyPrice).toFixed(2)) }}</text>
               </tui-list-cell>
@@ -508,8 +508,8 @@
           <view class="discount-custom-section">
             <view class="discount-custom-label">自定义折扣</view>
             <view class="discount-custom-input-group">
-              <input v-model="customDiscount" type="digit" placeholder="输入折扣(输0.85表示85折)" class="discount-custom-input" />
-              <button class="admin-button-com middle blue" @click="setCustomDiscount" > 应用 </button>
+              <input v-model="customDiscount" type="digit" placeholder="85折请填0.85" class="discount-custom-input" />
+              <button class="admin-button-com middle blue" @click="setCustomDiscount">确认</button>
             </view>
           </view>