瀏覽代碼

Merge branch 'dev-2.19.0' into dev

* dev-2.19.0:
  flx:更改990
wzq 4 月之前
父節點
當前提交
c304dd4580

+ 14 - 2
src/views/basic.info/ARlocation/ARlocationDel.vue

@@ -155,7 +155,7 @@
155 155
 							name="produceArea"
156 156
 							:label-col="{ span: 10 }"
157 157
 						>
158
-							<a-input placeholder="请输入" disabled v-model:value="tableList.produceArea" />
158
+							<a-input placeholder="请输入" disabled :value="cocName(tableList.produceArea)" />
159 159
 						</a-form-item>
160 160
 					</a-col>
161 161
 				</a-row>
@@ -256,7 +256,7 @@
256 256
 							:label-col="{ span: 10 }"
257 257
 							:rules="[{ required: true, message: '请输入!' }]"
258 258
 						>
259
-							<a-input disabled placeholder="请输入" v-model:value="tableList.zblbArr" />
259
+							<a-input disabled placeholder="请输入" :value="getlass(tableList.zblb)" />
260 260
 						</a-form-item>
261 261
 					</a-col>
262 262
 					<a-col :span="8">
@@ -429,6 +429,18 @@
429 429
 		cocDLMXS,
430 430
 		cocBUG_INSPECTION_TYPE
431 431
 	} = enumMap()
432
+	const getlass = (v) => {
433
+		if (v && v.split) {
434
+			let a = v.split(',') || []
435
+			let b = a.map((item) => {
436
+				return cocName(+item)
437
+			})
438
+			return b.join(',')
439
+		} else {
440
+			return v
441
+		}
442
+	}
443
+
432 444
 	const formRef = ref(null)
433 445
 	const router = useRouter()
434 446
 	const route = useRoute()

+ 15 - 2
src/views/rotation/planReceive/tables.vue

@@ -155,7 +155,7 @@
155 155
 							name="produceArea"
156 156
 							:label-col="{ span: 10 }"
157 157
 						>
158
-							<a-input placeholder="请输入" disabled v-model:value="tableList.produceArea" />
158
+							<a-input placeholder="请输入" disabled :value="cocName(tableList.produceArea)" />
159 159
 						</a-form-item>
160 160
 					</a-col>
161 161
 				</a-row>
@@ -256,7 +256,8 @@
256 256
 							:label-col="{ span: 10 }"
257 257
 							:rules="[{ required: true, message: '请输入!' }]"
258 258
 						>
259
-							<a-input disabled placeholder="请输入" v-model:value="tableList.zblbArr" />
259
+							<!-- zblbArr -->
260
+							<a-input disabled placeholder="请输入" :value="getlass(tableList.zblb)" />
260 261
 						</a-form-item>
261 262
 					</a-col>
262 263
 					<a-col :span="8">
@@ -429,6 +430,18 @@
429 430
 		cocDLMXS,
430 431
 		cocBUG_INSPECTION_TYPE
431 432
 	} = enumMap()
433
+	const getlass = (v) => {
434
+		if (v && v.split) {
435
+			let a = v.split(',') || []
436
+			let b = a.map((item) => {
437
+				return cocName(+item)
438
+			})
439
+			return b.join(',')
440
+		} else {
441
+			return v
442
+		}
443
+	}
444
+
432 445
 	const formRef = ref(null)
433 446
 	const router = useRouter()
434 447
 	const route = useRoute()

+ 15 - 2
src/views/security/Unified/tables.vue

@@ -155,7 +155,7 @@
155 155
 							name="produceArea"
156 156
 							:label-col="{ span: 10 }"
157 157
 						>
158
-							<a-input placeholder="请输入" disabled v-model:value="tableList.produceArea" />
158
+							<a-input placeholder="请输入" disabled :value="cocName(tableList.produceArea)" />
159 159
 						</a-form-item>
160 160
 					</a-col>
161 161
 				</a-row>
@@ -256,7 +256,7 @@
256 256
 							:label-col="{ span: 10 }"
257 257
 							:rules="[{ required: true, message: '请输入!' }]"
258 258
 						>
259
-							<a-input disabled placeholder="请输入" v-model:value="tableList.zblbArr" />
259
+							<a-input disabled placeholder="请输入" :value="getlass(tableList.zblb)" />
260 260
 						</a-form-item>
261 261
 					</a-col>
262 262
 					<a-col :span="8">
@@ -429,6 +429,19 @@
429 429
 		cocDLMXS,
430 430
 		cocBUG_INSPECTION_TYPE
431 431
 	} = enumMap()
432
+
433
+	const getlass = (v) => {
434
+		if (v && v.split) {
435
+			let a = v.split(',') || []
436
+			let b = a.map((item) => {
437
+				return cocName(+item)
438
+			})
439
+			return b.join(',')
440
+		} else {
441
+			return v
442
+		}
443
+	}
444
+
432 445
 	const formRef = ref(null)
433 446
 	const router = useRouter()
434 447
 	const route = useRoute()