|
|
@@ -560,7 +560,10 @@ export default {
|
|
|
// 余额是否充足
|
|
|
if ((this.form.payType === 'cash') && ((amountBalance - this.payAmount) < 0)) {
|
|
|
// 账户类型提示信息
|
|
|
- let accountType = this.currency[this.form.payType].name || ''
|
|
|
+ let account = this.payList.filter(item => {
|
|
|
+ return this.form.payType === item.label;
|
|
|
+ })
|
|
|
+ let accountType = account[0] && account[0].name || ''
|
|
|
this.$message({
|
|
|
message: accountType + this.$t('shop.balanceNotAllow'),
|
|
|
type: 'error'
|