|
@@ -440,6 +440,10 @@ export default {
|
|
|
// 补充服务
|
|
|
// 相同的值组成的数组
|
|
|
sameValues = supServiceIds.filter(value => serviceIds.includes(value));
|
|
|
+ if (sameValues.length && sameValues.includes(4) && sameValues.includes(19)) {
|
|
|
+ // 同时有4和19时,去掉 4
|
|
|
+ sameValues = sameValues.filter(value => value !== 4);
|
|
|
+ }
|
|
|
const supServiceIdsArr = sameValues.map(id => parseInt(id));
|
|
|
if(supServiceIdsArr.length === 0) {
|
|
|
console.warn('supServiceIdsArr为空')
|