@@ -212,17 +212,17 @@ class Enterprise extends Component {
})
.then((msg) => {
if (msg.error.length === 0) {
- if (msg.data) {
+ // if (msg.data) {
list.push(v)
this.setState({
newList: list
- } else {
- Taro.showToast({
- title: "请先完善客户档案,才可发起公出",
- icon: 'none'
- })
- }
+ // } else {
+ // Taro.showToast({
+ // title: "请先完善客户档案,才可发起公出",
+ // icon: 'none'
+ // })
+ // }
} else {
Taro.showToast({
title: msg.error[0].message,
@@ -551,7 +551,7 @@ class CustomerProfile extends Component {
}
postAddProject() {
const { checkProject, dtails, info } = this.state;
- const params = { uid: dtails.id };
+ const params = { uid: dtails.uid };
if (!checkProject.length) {
title: "请选择要添加的项目",