Przeglądaj źródła

客户的介绍人

shish 1 rok temu
rodzic
commit
83e04d2a66

+ 1 - 1
ghsApp/src/pages.json

@@ -106,7 +106,7 @@
 				{"path": "ship","style": {"navigationBarTitleText": "发货"}},
 				{"path": "ship","style": {"navigationBarTitleText": "发货"}},
 				{"path": "shipInfo","style": {"navigationBarTitleText": "发货"}},
 				{"path": "shipInfo","style": {"navigationBarTitleText": "发货"}},
 				{"path": "select","style": {"navigationBarTitleText": "重选花材"}},
 				{"path": "select","style": {"navigationBarTitleText": "重选花材"}},
-				{"path": "allot","style": {"navigationBarTitleText": "分配工作"}},
+				{"path": "allot","style": {"navigationBarTitleText": "分配"}},
 				{"path": "refundSuccess","style": {"navigationBarTitleText": "结果"}},
 				{"path": "refundSuccess","style": {"navigationBarTitleText": "结果"}},
 				{"path": "refundList","style": {"navigationBarTitleText": "售后记录", "enablePullDownRefresh": true}},
 				{"path": "refundList","style": {"navigationBarTitleText": "售后记录", "enablePullDownRefresh": true}},
 				{"path": "refundAllList","style": {"navigationBarTitleText": "售后记录", "enablePullDownRefresh": false}},
 				{"path": "refundAllList","style": {"navigationBarTitleText": "售后记录", "enablePullDownRefresh": false}},

+ 15 - 3
ghsApp/src/pagesClient/member/detail.vue

@@ -132,9 +132,9 @@
               <button class="admin-button-com blue mini-btn" @tap="amendMoney">确定</button>
               <button class="admin-button-com blue mini-btn" @tap="amendMoney">确定</button>
 						</tui-list-cell>
 						</tui-list-cell>
 
 
-            <tui-list-cell class="line-cell" :hover="true" :arrow="true">
+            <tui-list-cell class="line-cell" :hover="true" :arrow="true" @click="changeLevelPrice()">
               <div class="tui-title">享受价格</div>
               <div class="tui-title">享受价格</div>
-              <view class="tui-input" @click="changeLevelPrice()" style="text-align:center;">{{ form.level == 0 ? '零售价':form.level == 1 ? '批发价':form.level == 2 ? '大客价':'-' }}</view>
+              <view class="tui-input" style="text-align:center;">{{ form.level == 0 ? '零售价':form.level == 1 ? '批发价':form.level == 2 ? '大客价':'-' }}</view>
             </tui-list-cell>
             </tui-list-cell>
 
 
             <tui-list-cell class="line-cell" :hover="false">
             <tui-list-cell class="line-cell" :hover="false">
@@ -183,6 +183,11 @@
               <button class="admin-button-com blue mini-btn" @tap="createSeatSn" style="margin-left:10upx;">自动生成</button>
               <button class="admin-button-com blue mini-btn" @tap="createSeatSn" style="margin-left:10upx;">自动生成</button>
             </tui-list-cell>
             </tui-list-cell>
 
 
+            <tui-list-cell class="line-cell" :hover="true" :arrow="true" @click="changeIntroducer()">
+              <div class="tui-title">介绍人</div>
+              <view class="tui-input">{{ form.staffName }}</view>
+            </tui-list-cell>
+
         </view>
         </view>
 
 
       </view>
       </view>
@@ -268,7 +273,9 @@ export default {
         showStock:0,
         showStock:0,
         passStatus:0,
         passStatus:0,
         wlId:0,
         wlId:0,
-        level:1
+        level:1,
+        staffName:'',
+        staffId:0
       },
       },
       wlSelData: {},
       wlSelData: {},
       discount:null,
       discount:null,
@@ -404,6 +411,9 @@ export default {
 		},
 		},
     showNum(info){
     showNum(info){
       this.$msg("消费"+info.buyNum+"次")
       this.$msg("消费"+info.buyNum+"次")
+    },
+    changeIntroducer(){
+
     },
     },
     changeLevelPrice(){
     changeLevelPrice(){
 			const that = this;
 			const that = this;
@@ -606,6 +616,8 @@ export default {
         this.form.black = this.userInfo.black
         this.form.black = this.userInfo.black
         this.form.showStock = this.userInfo.showStock
         this.form.showStock = this.userInfo.showStock
         this.form.passStatus = this.userInfo.passStatus
         this.form.passStatus = this.userInfo.passStatus
+        this.form.staffId = this.userInfo.staffId
+        this.form.staffName = this.userInfo.staffName
         this.discount = parseFloat(res.data.discount)
         this.discount = parseFloat(res.data.discount)
         if(res.data.remainDebtAmount && Number(res.data.remainDebtAmount)>0){
         if(res.data.remainDebtAmount && Number(res.data.remainDebtAmount)>0){
           let name = res.data.name && !this.$util.isEmpty(res.data.name) ? res.data.name+' 待结金额' : '待结金额'
           let name = res.data.name && !this.$util.isEmpty(res.data.name) ? res.data.name+' 待结金额' : '待结金额'

+ 1 - 1
ghsApp/src/pagesOrder/detail.vue

@@ -25,7 +25,7 @@
 				单据信息
 				单据信息
 				<view class="flex" style="color: #3385ff;font-weight: 400">
 				<view class="flex" style="color: #3385ff;font-weight: 400">
 					<view @click.stop="openAgain()" style="margin-left:0upx;">继续开单</view>
 					<view @click.stop="openAgain()" style="margin-left:0upx;">继续开单</view>
-					<view @click.stop="allotFn()" style="margin-left:50upx;">分配工作</view>
+					<view @click.stop="allotFn()" style="margin-left:50upx;">分配</view>
 					<view @click.stop="printWlFlag()" style="margin-left:50upx;">打印物流标</view>
 					<view @click.stop="printWlFlag()" style="margin-left:50upx;">打印物流标</view>
 				</view>
 				</view>
 			</view>
 			</view>