Browse Source

完善厂家退库办理

zhanglei
yunuo970428 3 years ago
parent
commit
b15fc18b36
  1. 4
      anrui-scm/anrui-scm-ui/src/views/kucunguanli/changjiatuiku/changjiatuikuguanli/changjiatuikuAdd.vue

4
anrui-scm/anrui-scm-ui/src/views/kucunguanli/changjiatuiku/changjiatuikuguanli/changjiatuikuAdd.vue

@ -165,7 +165,7 @@ export default {
console.log(e.target.value) console.log(e.target.value)
e.target.value = parseFloat(e.target.value) e.target.value = parseFloat(e.target.value)
} }
row.disabledRefundMoney = e.target.value row.refundMoney = e.target.value
}, },
showEdit(row) { showEdit(row) {
this.$nextTick(() => { this.$nextTick(() => {
@ -249,7 +249,7 @@ export default {
}) })
}, },
confirm(row) { confirm(row) {
if (row.disabledRefundMoney !== row.costPrice && row.manDeduRemarks === '') { if (row.refundMoney !== row.costPrice && row.manDeduRemarks === '') {
this.$message({ showClose: true, type: 'error', message: '因厂家结算价与退款金额不一致,请填写厂家扣款说明' }) this.$message({ showClose: true, type: 'error', message: '因厂家结算价与退款金额不一致,请填写厂家扣款说明' })
return return
} }

Loading…
Cancel
Save