调整右键操作显示

This commit is contained in:
zyy 2020-09-09 13:25:34 +08:00
parent 3986185b1b
commit d01f367e73

View File

@ -156,9 +156,9 @@ export default {
res.data.forEach(item => {
const lable = this.typeList.find(ele => ele.value == item.type);
item['active'] = false;
item['name'] = `${item.code} ${item.description} ${lable.label}`;
item['code'] = `0000${item.code}`;
item['code'] = item['code'].substring(item['code'].length - 4);
let code = `0000${item.code}`;
code = code.substring(code.length - 4);
item['name'] = `${code} ${item.description} ${lable.label}`;
// if (this.optionObject[item.type]) {
// this.optionObject[item.type].push(item);
// } else {