|
@@ -329,6 +329,14 @@ watch(serviceId, (serviceUnitId) => {
|
|
|
run6({ serviceUnitId });
|
|
|
run7({ serviceUnitId });
|
|
|
run8({ serviceUnitId });
|
|
|
+
|
|
|
+ runGetRegionList({ serviceUnitId: serviceId.value }).then(
|
|
|
+ (res) => {
|
|
|
+ if (res && res.length) {
|
|
|
+ regionId.value = res[0].region_id;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ );
|
|
|
});
|
|
|
|
|
|
const supplierId = ref('');
|
|
@@ -358,13 +366,7 @@ watch(supplierId, (supplierId) => {
|
|
|
obj1 && (ssgcsNum.value = obj1.count);
|
|
|
obj2 && (qyxtrNum.value = obj2.count);
|
|
|
});
|
|
|
- runGetRegionList({ serviceUnitId: serviceId.value, supplierId }).then(
|
|
|
- (res) => {
|
|
|
- if (res && res.length) {
|
|
|
- regionId.value = res[0].region_id;
|
|
|
- }
|
|
|
- }
|
|
|
- );
|
|
|
+
|
|
|
});
|
|
|
watch(regionId, (regionId) => {
|
|
|
run4({
|