Browse Source

完善采购退库办理--无法点击确认

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

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

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

Loading…
Cancel
Save