|
@@ -83,7 +83,7 @@ export default {
|
|
|
},
|
|
|
//修改时的修改按钮点击触发
|
|
|
rowUpdate(row, index, done, loading) {
|
|
|
- row.corpType = customerParameter;
|
|
|
+ row.corpType = customerParameter.code;
|
|
|
typeSave(row).then(
|
|
|
() => {
|
|
|
this.$message({
|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
},
|
|
|
//新增修改时保存触发
|
|
|
rowSave(row, done, loading) {
|
|
|
- row.corpType = customerParameter;
|
|
|
+ row.corpType = customerParameter.code;
|
|
|
typeSave(row).then(
|
|
|
res => {
|
|
|
this.$message({
|
|
@@ -120,7 +120,7 @@ export default {
|
|
|
},
|
|
|
//查询全部
|
|
|
initData() {
|
|
|
- customerList({corpType: customerParameter}).then(res => {
|
|
|
+ customerList({corpType: customerParameter.code}).then(res => {
|
|
|
const column = this.findObject(this.option.column, "parentId");
|
|
|
column.dicData = res.data.data.records;
|
|
|
});
|