|
@@ -817,7 +817,7 @@ export default {
|
|
|
erpAccountList: [], // ERP账户列表
|
|
|
erpAccountQueryList:[], // ERP账户查询条件列表
|
|
|
erpAccountForm: {
|
|
|
- selectedAccount: null // 选中的账户ID
|
|
|
+ selectedAccount: [] // 选中的账户ID
|
|
|
},
|
|
|
orderSummary: null, // 订单统计信息
|
|
|
erpPhoneValue:[],
|
|
@@ -1309,6 +1309,7 @@ export default {
|
|
|
// 设置默认值:第一条真实账户
|
|
|
if (list.length && !this.queryParams.erpAccount) {
|
|
|
this.$set(this.queryParams, 'erpAccount', list[0]);
|
|
|
+ this.getList();
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error(response.msg || '获取ERP账户列表失败');
|
|
@@ -1435,7 +1436,7 @@ export default {
|
|
|
if (response.code === 200) {
|
|
|
this.$message.success('订单ERP账号设置成功');
|
|
|
this.cancelErpAccountDialog();
|
|
|
- this.getList(); // 刷新列表
|
|
|
+ this.getErpAccountList(); // 刷新列表
|
|
|
} else {
|
|
|
this.$message.error(response.msg || 'ERP账号设置失败');
|
|
|
}
|
|
@@ -1495,7 +1496,7 @@ export default {
|
|
|
if (response.code === 200) {
|
|
|
this.$message.success('ERP订单创建成功');
|
|
|
this.cancelErpAccountDialog();
|
|
|
- this.getList(); // 刷新列表
|
|
|
+ this.getErpAccountList(); // 刷新列表
|
|
|
} else {
|
|
|
this.$message.error(response.msg || 'ERP订单创建失败');
|
|
|
}
|