吊车导航截图改为不必填
This commit is contained in:
parent
65f3bc4a6f
commit
7bffecb189
|
|
@ -225,10 +225,12 @@ function sel(selectStatus, that, id) {
|
|||
if (selectStatus) {
|
||||
$(that).prop('checked', true);
|
||||
if (item.type === '车辆') {
|
||||
carType=1;
|
||||
for (let i = 1; i <= item.needNum; i++) {
|
||||
addCarFormData(item.modelId, i, item);
|
||||
}
|
||||
} else if (item.type === '吊车') {
|
||||
carType=2;
|
||||
for (let i = 1; i <= item.needNum; i++) {
|
||||
addCraneFormData(item.modelId, i, item.isDriverSet, item);
|
||||
}
|
||||
|
|
@ -236,11 +238,13 @@ function sel(selectStatus, that, id) {
|
|||
} else {
|
||||
$(that).prop('checked', false);
|
||||
if (item.type === '车辆') {
|
||||
carType=1;
|
||||
removeCarFormData(item.modelId);
|
||||
fileList = fileList.filter(l => {
|
||||
return l.class !== item.modelId;
|
||||
})
|
||||
} else if (item.type === '吊车') {
|
||||
carType=2;
|
||||
removeCraneFormData(item.modelId);
|
||||
fileList = fileList.filter(l => {
|
||||
return l.class !== item.modelId;
|
||||
|
|
|
|||
Loading…
Reference in New Issue