|
|
@@ -586,8 +586,16 @@
|
|
|
this.$refs.outboundOrderPrintRef.open(row.id);
|
|
|
},
|
|
|
handleAssetType(r) {
|
|
|
- const code = this.codeList.find((item) => item.dictCode == r);
|
|
|
- return code?.dictValue;
|
|
|
+ if (r == null || r === '') return '';
|
|
|
+ // r 可能为逗号分隔的多个编码,逐个匹配后拼接
|
|
|
+ return String(r)
|
|
|
+ .split(',')
|
|
|
+ .map((code) => {
|
|
|
+ const item = this.codeList.find((it) => it.dictCode == code);
|
|
|
+ return item?.dictValue || '';
|
|
|
+ })
|
|
|
+ .filter(Boolean)
|
|
|
+ .join(',');
|
|
|
},
|
|
|
async getTypeList() {
|
|
|
const { data } = await allCategoryLevel();
|