shish 2 лет назад
Родитель
Сommit
5b2e76e260
2 измененных файлов с 14 добавлено и 6 удалено
  1. 11 5
      ghs/src/views/member/list.vue
  2. 3 1
      ghsApp/src/pagesClient/member/addCustomer.vue

+ 11 - 5
ghs/src/views/member/list.vue

@@ -70,8 +70,6 @@
 			
 			
 			<template #slot-billing>
 			<template #slot-billing>
 				<el-button type="primary" size="mini" style="margin-left:60px;" @click="add()">添加客户</el-button>
 				<el-button type="primary" size="mini" style="margin-left:60px;" @click="add()">添加客户</el-button>
-				<el-button type="primary" size="mini" style="margin-left:60px;" @click="billing()">开单</el-button>
-				<el-button type="primary" size="mini" style="margin-left:60px;" @click="newCg()">新增采购</el-button>
 			</template>
 			</template>
 
 
 			<template #table-column-name="{scope}">
 			<template #table-column-name="{scope}">
@@ -89,14 +87,17 @@
 
 
 		</x-crud>
 		</x-crud>
 
 
-		<!-- 详情 -->
 		<detail-draw :show.sync="drapShow" :info="modalData" />
 		<detail-draw :show.sync="drapShow" :info="modalData" />
 
 
 		<el-dialog :title="rechargeTitle" :visible.sync="rechargePop" width="600px" center :close-on-click-modal="false">
 		<el-dialog :title="rechargeTitle" :visible.sync="rechargePop" width="600px" center :close-on-click-modal="false">
 			<div>
 			<div>
 				<div class="accounts-list">
 				<div class="accounts-list">
 					充值金额
 					充值金额
-					<el-input style="width: 80%" v-model="rechargeAmount" clearable></el-input>
+					<el-input style="width: 80%;" v-model="rechargeAmount" clearable></el-input>
+				</div>
+				<div class="accounts-list">
+					备注信息
+					<el-input style="width: 80%;" v-model="rechargeRemark" placeholder="选填" clearable></el-input>
 				</div>
 				</div>
 				<div class="accounts-list">
 				<div class="accounts-list">
 					转账方式
 					转账方式
@@ -134,6 +135,9 @@
 					确认手机
 					确认手机
 					<el-input style="width: 80%" v-model="confirmMobile1" clearable></el-input>
 					<el-input style="width: 80%" v-model="confirmMobile1" clearable></el-input>
 				</div>
 				</div>
+				<div style="text-align: center;color:red;font-weight:bold;font-size:16px;">
+					必须填写客户真实手机号,否则引起数据错乱自行负责
+				</div>
 				<div class="accounts-list" style="margin-top:20px;">
 				<div class="accounts-list" style="margin-top:20px;">
 					<span></span>
 					<span></span>
 					<div class="accounts-center">
 					<div class="accounts-center">
@@ -175,6 +179,7 @@ export default {
 			modalData: {},
 			modalData: {},
 			drapShow: false,
 			drapShow: false,
 			rechargeAmount:'',
 			rechargeAmount:'',
+			rechargeRemark:'',
 			rechargePayWay:-1,
 			rechargePayWay:-1,
 			rechargePop:false,
 			rechargePop:false,
 			rechargeTitle:'充值',
 			rechargeTitle:'充值',
@@ -260,6 +265,7 @@ export default {
 			this.rechargePop = false
 			this.rechargePop = false
 			this.rechargePayWay = -1
 			this.rechargePayWay = -1
 			this.rechargeAmount = ''
 			this.rechargeAmount = ''
+			this.rechargeRemark = ''
 			this.rechargeCustom = {}
 			this.rechargeCustom = {}
 		},
 		},
 		confirmRecharge(){
 		confirmRecharge(){
@@ -276,7 +282,7 @@ export default {
 				return false
 				return false
 			}
 			}
 			this.$confirm('确认充值?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {
 			this.$confirm('确认充值?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {
-				this.$service.custom.recharge({ customId: this.rechargeCustom.id,payWay:this.rechargePayWay,amount:this.rechargeAmount}).then(data => {
+				this.$service.custom.recharge({ customId: this.rechargeCustom.id,payWay:this.rechargePayWay,amount:this.rechargeAmount,remark:this.rechargeRemark}).then(data => {
 					this.resetRecharge()
 					this.resetRecharge()
 					this.$notify({ title: '成功', message: '充值成功', type: 'success'})
 					this.$notify({ title: '成功', message: '充值成功', type: 'success'})
 					this.app.refresh({ type: this.tabIndex })
 					this.app.refresh({ type: this.tabIndex })

+ 3 - 1
ghsApp/src/pagesClient/member/addCustomer.vue

@@ -1,6 +1,8 @@
 <template>
 <template>
   <div class="app-content">
   <div class="app-content">
-
+    <view style="text-align:center;color:red;font-weight:bold;padding:10upx 0 10upx 0;font-size:27upx;">
+      必须填写客户真实手机号,否则引起数据错乱自行负责
+    </view>
     <form @submit="formSubmit">
     <form @submit="formSubmit">
       <view class="module-com">
       <view class="module-com">
         <tui-list-cell class="line-cell" :hover="false" >
         <tui-list-cell class="line-cell" :hover="false" >