Browse Source

修改弹框名称

chenghanbin 4 months ago
parent
commit
5f06ad9062
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/emergencySupport/moduleView/yjccqyAdd.vue

+ 2 - 2
src/views/emergencySupport/moduleView/yjccqyAdd.vue

@@ -413,7 +413,8 @@
413
 		getCityDicList()
413
 		getCityDicList()
414
 		// 查看详情
414
 		// 查看详情
415
 		if (props.modalData.type == 'look' || props.modalData.type == 'edit') {
415
 		if (props.modalData.type == 'look' || props.modalData.type == 'edit') {
416
-			pageTitle.value = '查看应急配送企业详情'
416
+			let str = props.modalData.type == 'look' ? '查看' : '修改'
417
+			pageTitle.value = str + '应急仓储企业详情'
417
 			api.getDetails({ id: props.modalData.id }).then((res) => {
418
 			api.getDetails({ id: props.modalData.id }).then((res) => {
418
 				formData.value = res
419
 				formData.value = res
419
 				formData.value.emergencyLevel = []
420
 				formData.value.emergencyLevel = []
@@ -474,7 +475,6 @@
474
 			}
475
 			}
475
 		})
476
 		})
476
 		dictList.sjjyProvince.map((item) => {
477
 		dictList.sjjyProvince.map((item) => {
477
-			console.log(item.id, formData.value.actualAddressProvince)
478
 			if (item.id == formData.value.actualAddressProvince) {
478
 			if (item.id == formData.value.actualAddressProvince) {
479
 				if (item.dictLabel == '北京市' || item.dictLabel == '上海市' || item.dictLabel == '重庆市') {
479
 				if (item.dictLabel == '北京市' || item.dictLabel == '上海市' || item.dictLabel == '重庆市') {
480
 					dictList.sjjyCity.push(item)
480
 					dictList.sjjyCity.push(item)