Hi bạn Bạn thay Mã (text): res[line.x_sub_cbm] = sub_cbm bằng Mã (text): line.x_sub_cbm = sub_cbm và bỏ return res nha!