Commit 972c2998 authored by zhengke's avatar zhengke

修改

parent d00862de
......@@ -172,6 +172,7 @@ export default {
};
GetCustomer(msg).then(res => {
if (res.Code == 1) {
console.log(res,'res');
let tempData = res.Data;
this.detailData.CustomerId = tempData.CustomerId;
this.detailData.ApproveState = tempData.ApproveState;
......@@ -217,8 +218,6 @@ export default {
}
},
saveBaseInfo(obj) {
// console.log(obj,'obj');
// return
this.detailData[obj.field] = obj.val;
SetCustomer(this.detailData).then(res => {
if (res.Code == 1) {
......@@ -231,6 +230,8 @@ export default {
});
this.$emit("success");
}
}).catch(()=>{
this.initObj();
});
},
//同业转交
......
......@@ -68,9 +68,10 @@
</template>
<script>
import {
GetCustomerPage_v2,
getAllCustomer,
RemoveCustomer
} from "../../api/sale/peemanagement";
import {
queryCustomerCategoryPage
} from "../../api/users/user";
......@@ -167,7 +168,7 @@
this.loading = true;
this.dataList = [];
if (this.tabCheck == 1) {
GetCustomerPage_v2(this.msg)
getAllCustomer(this.msg)
.then(res => {
this.dataList = res.Data.PageData;
this.loading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment