瀏覽代碼

含处理价

shish 3 年之前
父節點
當前提交
1b5d8f790c
共有 1 個文件被更改,包括 24 次插入1 次删除
  1. 24 1
      ghsApp/src/admin/billing/affirm.vue

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

@@ -164,6 +164,11 @@
             </picker>
           </tui-list-cell>
 
+          <tui-list-cell class="line-cell" :hover="false">
+            <div class="tui-title">含处理价</div>
+            <view><switch style="transform:scale(0.7,0.7)" :checked="form.dealPrice == 0 ? false : true" @change="dealPriceChangeFn" />{{form.dealPrice == 0?'否':'是'}}</view>
+          </tui-list-cell>
+
           <tui-list-cell class="line-cell" :hover="false" :arrow="false">
             <view class="tui-title">备注</view>
 						<textarea style="height: 100upx" v-model="form.remark" placeholder="选填" />
@@ -187,6 +192,15 @@
     <view v-if="isScanEnv" @click="changeGet" style="width:125upx;height:125upx;display:flex;justify-content:center;align-items:center;font-size:60upx;
     background:#3385ff;color:white;z-index:9999;position:fixed;bottom:230upx;right:40upx;border-radius:60upx;">{{calc=='add'?'+':'-'}}</view>
 
+
+		<uni-popup ref="selectFlowerNumRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
+			<view style="display:flex;padding:20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">
+
+				aaaaaaaaaaaaaaaaaaaaa
+
+			</view>
+		</uni-popup>
+
     </view>
   </view>
 </template>
@@ -249,7 +263,8 @@ export default {
         payWay:0,
         needPrint:1,//订单生成时打印订单1需要2不需要
         hasPay:0,
-        getStaffName:''
+        getStaffName:'',
+        dealPrice:0
       },
       showCustomer: false,
       customInfo:{discount:1},
@@ -346,6 +361,9 @@ export default {
   },
   methods: {
     ...mapActions(["initMerchantInfo"]),
+    dealPriceChangeFn(e) {
+      this.form.dealPrice = e.detail.value ? 1 : 0;
+    },
     changeGet(){
       this.calc = this.calc == 'add' ? 'sub' : 'add'
     },
@@ -384,6 +402,8 @@ export default {
       }
     },
     confirmSubmit () {
+      //this.$refs.selectFlowerNumRef.open('bottom')
+      //return
       let self = this;
         let rules = [
           {
@@ -712,4 +732,7 @@ export default {
 		}
 	}
 }
+.class-popup-style{
+	z-index:999999;
+}
 </style>