解决冲突
This commit is contained in:
@ -41,7 +41,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
maxPiece: 99999,
|
||||
maxDays: 999,
|
||||
intervalDays: 999,
|
||||
maxTimes: 999
|
||||
maxTimes: 5
|
||||
};
|
||||
sf1data: any; // 货源单设置回显
|
||||
sf3data: any; // 货源单设置回显
|
||||
@ -746,7 +746,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
addStartInfo() {
|
||||
if (this.startInfo.length < 5) {
|
||||
if (this.startInfo.length < this.limitValues.maxTimes) {
|
||||
const controlId = this.startInfo.length;
|
||||
this.startInfo.push({
|
||||
detailedAddress: '',
|
||||
@ -800,7 +800,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
|
||||
this.validateForm1.removeControl(`loadPhone${index}`);
|
||||
}
|
||||
addEndInfo() {
|
||||
if (this.endInfo.length < 5) {
|
||||
if (this.endInfo.length < this.limitValues.maxTimes) {
|
||||
const controlId = this.endInfo.length;
|
||||
this.endInfo.push({
|
||||
detailedAddress: '',
|
||||
|
||||
Reference in New Issue
Block a user