Browse Source

升级版本

shish 3 years ago
parent
commit
b6984e5b44

+ 2 - 2
ghsPad/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝收银",
     "appid" : "__UNI__E2D4F80",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.1.2",
-    "versionCode" : 112,
+    "versionName" : "1.1.3",
+    "versionCode" : 113,
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {

+ 10 - 1
ghsPad/src/pages/home/cash.vue

@@ -11,7 +11,7 @@
 					<navComponent navType="casher"></navComponent>
 				</view>
 				<view class="select-custom">
-					<customerList @selectCustomer="selectCustomer" @cancelChooseCustomer="cancelSelect"> </customerList>
+					<customerList @fastKd="fastKd" @selectCustomer="selectCustomer" @cancelChooseCustomer="cancelSelect"> </customerList>
 				</view>
 			</view>
 		</block>
@@ -120,6 +120,15 @@ export default {
 		}
 	},
 	methods: {
+		fastKd(){
+			if(this.getLoginInfo.skCustomId && this.getLoginInfo.skCustomId > 0){
+				let currentId = this.getLoginInfo.skCustomId
+				this.customId = Number(currentId)
+				this.customName = '快捷开单'
+			}else{
+				this.$msg('请先设置开单门店')
+			}
+		},
 		cancelKdFn(){
 			this.customId = 0
 			this.customName = ''

+ 17 - 0
ghsPad/src/pages/home/components/customerList.vue

@@ -2,6 +2,7 @@
   <view class="app-select_user">
     <view class="title">请选客户</view>
     <view class="app-userList_box">
+      <view class="fast-kd" @click.stop="fastKd()">快捷开单</view>
       <view :key="item.id" @click="selectCustomer(item)" class="userList-item_box" v-for="item in list">
         <view class="head-box">
           <view class="name">{{item.name}}</view>
@@ -36,6 +37,9 @@ export default {
     this.activeKeyboard();
   },
   methods: {
+    fastKd(){
+      this.$emit('fastKd')
+    },
     selectCustomer(info){
       this.$util.hitVoice()
       this.$emit('selectCustomer',info)
@@ -87,11 +91,24 @@ export default {
     margin-left:5upx;
   }
   & .app-userList_box {
+    position:relative;
     padding: 5upx;
     display: flex;
     flex-wrap: wrap;
     min-height: 130upx;
     overflow-y: scroll;
+    .fast-kd{
+      font-size:28upx;
+      width:150upx;
+      padding:30upx 0 30upx 0;
+      position:absolute;
+      top:20upx;
+      right:10upx;
+      background-color:green;
+      color:white;
+      border-radius:20upx;
+      text-align:center;
+    }
     & .userList-item_box {
       margin: 0 5upx 5upx 0;
       width: 95upx;

+ 2 - 2
开发/ghsPad/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝收银",
     "appid" : "__UNI__E2D4F80",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.1.2",
-    "versionCode" : 112,
+    "versionName" : "1.1.3",
+    "versionCode" : 113,
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {

+ 2 - 2
线上/ghsPad/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝收银",
     "appid" : "__UNI__E2D4F80",
     "description" : "鲜花批发销售管理系统",
-    "versionName" : "1.1.2",
-    "versionCode" : 112,
+    "versionName" : "1.1.3",
+    "versionCode" : 113,
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {