|
|
@@ -15,13 +15,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="select-item_box">
|
|
|
- <view class="title">收款账号</view>
|
|
|
- <view class="item-list_box">
|
|
|
- <view :key="item.id" @tap="changeGetStaff(item)" v-for="item in getStaffList" :class="[form.getStaffId===item.id?'active':'']"> {{item.name}} </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
<view class="select-item_box">
|
|
|
<view class="title">打印小票</view>
|
|
|
<view class="item-list_box">
|
|
|
@@ -93,7 +86,6 @@ export default {
|
|
|
remark:'',
|
|
|
sendCost:0,
|
|
|
modifyPrice:0,
|
|
|
- getStaffId:0,
|
|
|
getStaffName:''
|
|
|
},
|
|
|
proceeds: '0',
|
|
|
@@ -156,21 +148,8 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.activeKeyboard()
|
|
|
- getAllStaff().then(res=>{
|
|
|
- if(res.code == 1){
|
|
|
- this.getStaffList = res.data.list
|
|
|
- if(!this.$util.isEmpty(this.getStaffList)){
|
|
|
- this.form.getStaffId = this.getStaffList[0].id
|
|
|
- this.form.getStaffName = this.getStaffList[0].name
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
},
|
|
|
methods: {
|
|
|
- changeGetStaff(item){
|
|
|
- this.form.getStaffId = item.id
|
|
|
- this.form.getStaffName = item.name
|
|
|
- },
|
|
|
changeNeedPrint(val){
|
|
|
this.form.needPrint = val
|
|
|
},
|