|
|
@@ -287,7 +287,9 @@ export default {
|
|
|
currentItem:{},
|
|
|
classList:[],
|
|
|
changeType:'add',
|
|
|
- TT:null
|
|
|
+ TT:null,
|
|
|
+ defaultGetStaffName:'',
|
|
|
+ defaultGetStaffId:0,
|
|
|
};
|
|
|
},
|
|
|
mixins: [productMins],
|
|
|
@@ -423,6 +425,8 @@ export default {
|
|
|
that.setSendType(0)
|
|
|
that.setTransType(4)
|
|
|
that.form.hasPay = 2
|
|
|
+ that.form.getStaffId = that.defaultGetStaffId
|
|
|
+ that.form.getStaffName = that.defaultGetStaffName
|
|
|
that.showCommitPop = true
|
|
|
}
|
|
|
if(e && e.key=='F8'){
|
|
|
@@ -441,8 +445,9 @@ export default {
|
|
|
if(!that.$util.isEmpty(that.staffList)){
|
|
|
for(const ele of that.staffList){
|
|
|
if(currentStaff.id == ele.id){
|
|
|
- that.form.getStaffId = ele.id
|
|
|
- that.form.getStaffName = ele.name
|
|
|
+
|
|
|
+ that.defaultGetStaffName = ele.name
|
|
|
+ that.defaultGetStaffId = ele.id
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -601,6 +606,8 @@ export default {
|
|
|
formReset(){
|
|
|
this.form.customId = 0
|
|
|
this.form.customName = ''
|
|
|
+ this.form.getStaffId = 0
|
|
|
+ this.form.getStaffName = ''
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.customref.focus()
|
|
|
})
|