|
@@ -338,11 +338,11 @@ watch(serviceId, (serviceUnitId) => {
|
|
|
run7({ serviceUnitId });
|
|
|
run8({ serviceUnitId });
|
|
|
|
|
|
- runGetRegionList({ serviceUnitId: serviceId.value }).then((res) => {
|
|
|
- if (res && res.length) {
|
|
|
- regionId.value = res[0].region_id;
|
|
|
- }
|
|
|
- });
|
|
|
+ // runGetRegionList({ serviceUnitId: serviceId.value }).then((res) => {
|
|
|
+ // if (res && res.length) {
|
|
|
+ // regionId.value = res[0].region_id;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
});
|
|
|
|
|
|
const supplierId = ref('');
|
|
@@ -371,13 +371,13 @@ watch(supplierId, (supplierId) => {
|
|
|
ssgcsNum.value = obj1?.count || 0;
|
|
|
qyxtrNum.value = obj2?.count || 0;
|
|
|
});
|
|
|
- // runGetRegionList({ serviceUnitId: serviceId.value, supplierId }).then(
|
|
|
- // (res) => {
|
|
|
- // if (res && res.length) {
|
|
|
- // regionId.value = res[0].region_id;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // );
|
|
|
+ runGetRegionList({ serviceUnitId: serviceId.value, supplierId }).then(
|
|
|
+ (res) => {
|
|
|
+ if (res && res.length) {
|
|
|
+ regionId.value = res[0].region_id;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ );
|
|
|
}
|
|
|
});
|
|
|
watch(regionId, (regionId) => {
|