shish %!s(int64=4) %!d(string=hai) anos
pai
achega
f365e74cc4
Modificáronse 1 ficheiros con 9 adicións e 12 borrados
  1. 9 12
      ghsApp/src/pagesArrears/details.vue

+ 9 - 12
ghsApp/src/pagesArrears/details.vue

@@ -31,20 +31,9 @@
 				</view>
 			</template>
 			<view class="btn-view">
-				<button :class="['admin-button-com', 'blue']" @click="isModelFun">创建账单</button>
+				<button :class="['admin-button-com', 'blue']" @click="createOrder">创建账单</button>
 			</view>
 		</view>
-		<modal-module :show="isModel" @click="confirmData" :title="'确认金额'" color="#333" :size="32" padding="30upx 30upx" >
-			<template slot="customContent">
-				<view class="select-cmd_bx">
-					<view class="num_bx">
-						<view class="flex">金额:{{selectTotalAmount}}</view>
-						<view class="flex">实收:<input @focus="modifyPrice = null" v-model="modifyPrice" type="digit"/></view>
-						<view class="flex">优惠:{{(selectTotalAmount - modifyPrice).toFixed(2)}}</view>
-					</view>
-				</view>
-			</template>
-		</modal-module>
 	</view>
 </view>
 </template>
@@ -121,6 +110,13 @@ export default {
 		}
 	},
 	methods: {
+		createOrder(){
+			let that = this
+			let price = parseFloat(that.modifyPrice)
+			that.$util.confirmModal({content:'总金额'+price+'元,确认提交?'},() => {
+				that.confirmData()
+			})
+		},
 		payWayChange(e){
 			let index = e.detail.value
 			this.payWayindex = index
@@ -289,6 +285,7 @@ export default {
 		padding-bottom: 100upx;
 	}
 	.ios-bar-view {
+		bottom: 0;
 		display: flex;
 		justify-content: space-between;
 		align-items: center;