feature/V2-dev合并多语言

This commit is contained in:
黎永顺 2023-12-04 11:35:43 +08:00
parent e5265d3875
commit cf268d9931
3 changed files with 13 additions and 4 deletions

View File

@ -367,7 +367,7 @@ export default class Programme extends React.Component {
<WeaTab
datas={topTab} keyParam="viewcondition" selectedKey={selectedKey}
searchType={selectedKey !== "custom" ? ["base", "advanced"] : []}
showSearchAd={showSearchAd}
showSearchAd={showSearchAd} autoCalculateWidth
setShowSearchAd={bool => this.setState({ showSearchAd: bool })}
advanceHeight={200} searchsAd={getSearchs(planSearchForm, _.map(conditons, item => {
return {

View File

@ -18,6 +18,15 @@
.tableBar {
margin-top: 10px;
.ant-table-fixed-left {
td {
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.tableWrapper {

View File

@ -171,17 +171,17 @@ export class ProgrammeStore {
valideForm(params) {
if (!notNull(params.insuranceScheme.paymentType)) {
message.warning("缴纳类型不能为空");
message.warning(getLabel(111, "缴纳类型不能为空"));
return false;
}
if (!notNull(params.insuranceScheme.schemeName)) {
message.warning("方案名称不能为空");
message.warning(getLabel(111, "方案名称不能为空"));
return false;
}
if (this.requestParams.sharedType === "1" && !notNull(params.insuranceScheme.taxAgentIds)) {
message.warning("可见性范围不能为空");
message.warning(getLabel(111, "可见性范围不能为空"));
return false;
}
return true;