|
|
@@ -151,7 +151,7 @@
|
|
|
<div class="accounts-list">
|
|
|
付款方式
|
|
|
<div class="accounts-center">
|
|
|
- <el-button :type="form.hasPay == 2?'primary':''" @keyup.enter.native="form.hasPay = 2" @click="form.hasPay = 2" size="small">赊账</el-button>
|
|
|
+ <el-button :type="form.hasPay == 2?'primary':''" @keyup.enter.native="form.hasPay = 2" @click="form.hasPay = 2" size="small">挂账</el-button>
|
|
|
<el-button :type="form.hasPay == 1?'primary':''" @keyup.enter.native="form.hasPay = 1" @click="form.hasPay = 1" size="small">线下</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -303,6 +303,7 @@ export default {
|
|
|
TT:null,
|
|
|
defaultGetStaffName:'',
|
|
|
defaultGetStaffId:0,
|
|
|
+ cgUnitType:0
|
|
|
};
|
|
|
},
|
|
|
mixins: [productMins],
|
|
|
@@ -561,7 +562,7 @@ export default {
|
|
|
if(this.form.hasPay == 1){
|
|
|
name = '确认线下付款?'
|
|
|
}else if(this.form.hasPay == 2){
|
|
|
- name = '确认赊账?'
|
|
|
+ name = '确认挂账?'
|
|
|
}else{
|
|
|
name = '确认提交'
|
|
|
}
|
|
|
@@ -687,7 +688,11 @@ export default {
|
|
|
selectCurrentItem(currentItem){
|
|
|
this.currentItem = currentItem
|
|
|
this.customData.bigCount = currentItem.bigCount > 0 ? currentItem.bigCount : 1
|
|
|
- this.customData.userPrice = parseFloat(this.currentItem.price)
|
|
|
+ if(this.changeType == 'add'){
|
|
|
+ this.customData.userPrice = parseFloat(this.currentItem.price)
|
|
|
+ }else{
|
|
|
+ this.customData.userPrice = parseFloat(this.currentItem.userPrice)
|
|
|
+ }
|
|
|
this.customData.remark = this.currentItem.remark||''
|
|
|
this.desk = 'confirmPriceNum';
|
|
|
this.showGetItemList = false
|