shish hace 4 años
padre
commit
2ec264d11d
Se han modificado 1 ficheros con 9 adiciones y 9 borrados
  1. 9 9
      ghsApp/src/admin/billing/affirm.vue

+ 9 - 9
ghsApp/src/admin/billing/affirm.vue

@@ -148,9 +148,9 @@
 
           <tui-list-cell class="line-cell" :arrow="true">
             <div class="tui-title">开单人</div>
-            <picker mode="selector" :value="form.shopAdminId" :range="staffList" range-key="name" @change="kdChange" class="tui-input" >
-              <input v-model="form.shopAdminId" name="shopAdminId" type="text" hidden />
-              <div style="padding:6upx 0 6upx 0;">{{form.shopAdminName}}</div>
+            <picker mode="selector" :value="form.getStaffId" :range="staffList" range-key="name" @change="kdChange" class="tui-input" >
+              <input v-model="form.getStaffId" name="getStaffId" type="text" hidden />
+              <div style="padding:6upx 0 6upx 0;">{{form.getStaffName}}</div>
             </picker>
           </tui-list-cell>
 
@@ -238,7 +238,7 @@ export default {
         payWay:0,
         needPrint:1,//订单生成时打印订单1需要2不需要
         hasPay:0,
-        shopAdminName:''
+        getStaffName:''
       },
       showCustomer: false,
       customInfo:{discount:1},
@@ -303,9 +303,9 @@ export default {
         this.staffList = res.data.list
         if(!this.$util.isEmpty(this.staffList)){
           for(const ele of this.staffList){
-            if(this.getLoginInfo.shopAdminId == ele.id){
-              this.form.shopAdminId = ele.id
-              this.form.shopAdminName = ele.name
+            if(this.getLoginInfo.getStaffId == ele.id){
+              this.form.getStaffId = ele.id
+              this.form.getStaffName = ele.name
             }
           }
         }
@@ -347,8 +347,8 @@ export default {
 			let index = e.detail.value
       if(!this.$util.isEmpty(this.staffList)){
         if(this.staffList[index]){
-          this.form.shopAdminName = this.staffList[index].name
-          this.form.shopAdminId = this.staffList[index].id
+          this.form.getStaffName = this.staffList[index].name
+          this.form.getStaffId = this.staffList[index].id
         }
       }
     },