|
|
@@ -1283,6 +1283,11 @@ class PublicContent extends Component {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if ([5, 6].indexOf(this.props.dtails.type) > -1 && (!this.state.cList.length || this.state.coorderList.length)) {
|
|
|
+ Taro.showToast({ title: "请选择协单人", icon: "none" });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
if ([5, 6].indexOf(this.props.dtails.type) > -1 && !this.state.assistType) {
|
|
|
Taro.showToast({ title: "请选择协单类型", icon: "none" });
|
|
|
return;
|