Jelajahi Sumber

允许修改价格

shish 3 tahun lalu
induk
melakukan
9d221c73d7
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 3
      ghsApp/src/admin/billing/affirm.vue

+ 1 - 3
ghsApp/src/admin/billing/affirm.vue

@@ -60,9 +60,7 @@
               <view class="kc"><text class="unit_price">库存 {{ parseFloat(customData.stock) }}</text><text class="unit_price"> 单价 {{ parseFloat(customData.price) }}</text>1扎={{customData.ratio}}支</view>
 
               <view class="num_bx">
-                <input style="width: 430upx" v-model="customData.userPrice" @focus="customData.userPrice = null"
-                v-if="getLoginInfo.staff && getLoginInfo.staff.super == 1" type="number" placeholder="单价" :disabled="false" />
-                <input style="width: 430upx" v-model="customData.userPrice" v-else @focus="customData.userPrice = null" type="number" :disabled="true" placeholder="单价" />
+                <input style="width: 430upx" v-model="customData.userPrice" @focus="customData.userPrice = null" type="number" placeholder="单价" :disabled="false" />
                 <text style="font-size:35upx;font-weight:bold;color:#666666;">元</text>
               </view>